Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.573e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001102/0.001118, allocations: 0.6033 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.001809, allocations: 0.812 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.001836, allocations: 0 / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.00186, allocations: 0 / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.001914, allocations: 0 / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.757e-05/0.001962, allocations: 7.984 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.002024, allocations: 19.94 kB / 0.952 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.002067, allocations: 4 kB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.002134, allocations: 7.984 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.002163, allocations: 4 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.002181, allocations: 0 / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-06/0.002186, allocations: 4 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.002201, allocations: 15.86 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.002218, allocations: 0 / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.731e-05/0.002286, allocations: 15.97 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002287, allocations: 0 / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002288, allocations: 0 / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002293, allocations: 4 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000306/0.002598, allocations: 262.3 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.002634, allocations: 8.031 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.002659, allocations: 34.69 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.744e-05/0.002676, allocations: 0.9375 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.00275, allocations: 117.7 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.002759, allocations: 384 / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-06/0.002766, allocations: 384 / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.002875, allocations: 46.23 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.002882, allocations: 4.188 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.002889, allocations: 384 / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.002894, allocations: 4.125 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.002965, allocations: 31.91 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.003075, allocations: 124.8 kB / 0.9526 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.003138, allocations: 26.56 kB / 0.9526 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.003181, allocations: 24.91 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.003188, allocations: 0 / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.003206, allocations: 38.5 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.003207, allocations: 0 / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.000599/0.003806, allocations: 73.58 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.003837, allocations: 59.34 kB / 0.9528 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.003892, allocations: 97.86 kB / 0.9529 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003902, allocations: 25.7 kB / 0.9529 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.003929, allocations: 88.25 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.003952, allocations: 7.922 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.003977, allocations: 13.72 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.004046, allocations: 314.8 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.004083, allocations: 11.98 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.004116, allocations: 11.98 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.004201, allocations: 44.88 kB / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004203, allocations: 0 / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.398e-05/0.004297, allocations: 65.56 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.00431, allocations: 6.188 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.004315, allocations: 0 / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.004326, allocations: 0 / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.004388, allocations: 15.92 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.004393, allocations: 0 / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.004414, allocations: 12.02 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.00442, allocations: 4 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.004475, allocations: 105.8 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.004481, allocations: 4 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.004499, allocations: 3.156 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004501, allocations: 4 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.004506, allocations: 3.938 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004509, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.004582, allocations: 124.8 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004582, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.004604, allocations: 11.98 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004605, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.004611, allocations: 3.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004612, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004614, allocations: 3.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.00472, allocations: 89.03 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.004725, allocations: 3.938 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.004734, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.004752, allocations: 12.2 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.004781, allocations: 3.938 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.004785, allocations: 7.984 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.004807, allocations: 75.28 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004807, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001168/0.004924, allocations: 4 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.005181, allocations: 0.6202 MB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.0053, allocations: 39.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005301, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.005338, allocations: 11.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.005487, allocations: 7.938 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.005745, allocations: 122.5 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.005779, allocations: 59.47 kB / 0.9548 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.005796, allocations: 4 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.005826, allocations: 20.44 kB / 0.9548 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of SimCode: time 5.82e-07/0.005826, allocations: 0 / 0.9548 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.01981, allocations: 1.887 MB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.914, allocations: 3.25 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.869301025755703]