Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001395/0.001395, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001574/0.001574, allocations: 222.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 65.42 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4443, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00321/0.4475, allocations: 1.204 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.4503, allocations: 1.705 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.4504, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.085e-05/0.4505, allocations: 27.61 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.4507, allocations: 95.33 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.4522, allocations: 0.6522 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.4531, allocations: 0.7564 MB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.4533, allocations: 52.91 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.4537, allocations: 303.4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.4542, allocations: 275.1 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.4543, allocations: 72 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.4545, allocations: 87.91 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.4546, allocations: 75.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.4548, allocations: 239.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.4556, allocations: 0.7012 MB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4556, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4556, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4556, allocations: 4 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001606/0.4572, allocations: 0.8652 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4573, allocations: 8.031 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.759e-05/0.4573, allocations: 4.188 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.4574, allocations: 54.72 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.4576, allocations: 44.75 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4591, allocations: 404.9 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.4592, allocations: 28.23 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4593, allocations: 48.36 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.4599, allocations: 212.2 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4599, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.4599, allocations: 11.98 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4599, allocations: 4 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.4603, allocations: 127.8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.4617, allocations: 0.8237 MB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.4624, allocations: 216.1 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.4627, allocations: 94.52 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.4627, allocations: 11.94 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007223/0.4635, allocations: 301.6 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.4635, allocations: 0 / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001213/0.4647, allocations: 468 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.4648, allocations: 118.8 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.4651, allocations: 268.1 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.4652, allocations: 45.7 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4653, allocations: 153 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4654, allocations: 107.2 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.4657, allocations: 158 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4659, allocations: 338.8 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.4667, allocations: 419 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.4678, allocations: 0.7677 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.4689, allocations: 0.574 MB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4689, allocations: 0 / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001903/0.4708, allocations: 1.05 MB / 1.34 GB, free: 2.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.471, allocations: 194.5 kB / 1.34 GB, free: 2.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.471, allocations: 8 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.471, allocations: 8 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.4712, allocations: 43.91 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4712, allocations: 8 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/0.4722, allocations: 179.6 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/0.4723, allocations: 39.97 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0003196/0.4726, allocations: 180 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.4727, allocations: 39.7 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.4728, allocations: 33.8 kB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4728, allocations: 4 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.4728, allocations: 0 / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4728, allocations: 0 / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.4744, allocations: 0.8708 MB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4744, allocations: 0 / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.4747, allocations: 47.89 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4747, allocations: 0 / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4747, allocations: 12 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4747, allocations: 4 kB / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4747, allocations: 0 / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.476, allocations: 0.7086 MB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.4761, allocations: 31.77 kB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.4761, allocations: 8 kB / 1.343 GB, free: 428 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.4764, allocations: 23.95 kB / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4764, allocations: 31.89 kB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.4765, allocations: 15.98 kB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002042/0.4767, allocations: 183.1 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4767, allocations: 0 / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006493/0.4773, allocations: 115.9 kB / 1.343 GB, free: 60 kB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001729/0.479, allocations: 1.265 MB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.4808, allocations: 0.9454 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4808, allocations: 4.938 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.4812, allocations: 144.7 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.482, allocations: 117 kB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.4903, allocations: 5.031 MB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4905, allocations: 160.9 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.4908, allocations: 59.44 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.491, allocations: 111.4 kB / 1.351 GB, free: 7.707 MB / 1.045 GB Notification: Performance of SimCode: time 1.283e-06/0.491, allocations: 0 / 1.351 GB, free: 7.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.5359, allocations: 11 MB / 1.361 GB, free: 13.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.55, allocations: 26.11 kB / 1.361 GB, free: 13.07 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 19.703639176907018]