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.001657/0.001657, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00209/0.00209, allocations: 215.2 kB / 23 MB, free: 4.934 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [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.002088/0.002088, allocations: 71.64 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4459, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003031/0.449, allocations: 1.198 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4516, allocations: 1.716 MB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4517, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.795e-05/0.4518, allocations: 19.69 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.4521, allocations: 87.34 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.4537, allocations: 0.6543 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.4545, allocations: 0.7525 MB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4547, allocations: 56.89 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.4551, allocations: 307.3 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.4555, allocations: 279.1 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.4556, allocations: 72 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.4558, allocations: 80 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.4558, allocations: 83.67 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.4561, allocations: 235.3 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.4569, allocations: 0.697 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4569, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4569, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.457, allocations: 4 kB / 1.333 GB, free: 10.69 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.001593/0.4585, allocations: 0.8653 MB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4586, allocations: 8.031 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4588, allocations: 48.75 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4604, allocations: 397 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.4604, allocations: 24.38 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4605, allocations: 48.36 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.4611, allocations: 224.4 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4611, allocations: 7.938 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.4611, allocations: 7.984 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4611, allocations: 4 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.4615, allocations: 119.9 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4628, allocations: 0.7852 MB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.4635, allocations: 220.1 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4637, allocations: 98.52 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4638, allocations: 4 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/0.4644, allocations: 305.6 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 3.848e-06/0.4644, allocations: 7.984 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001173/0.4656, allocations: 449.9 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.4657, allocations: 118.8 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.4659, allocations: 268.1 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/0.466, allocations: 45.7 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.4662, allocations: 161 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.4663, allocations: 103.2 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.4666, allocations: 158 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4667, allocations: 342.8 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.4674, allocations: 411 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/0.4683, allocations: 0.7697 MB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.4692, allocations: 0.5773 MB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4692, allocations: 0 / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00177/0.471, allocations: 1.049 MB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.4712, allocations: 190.2 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4712, allocations: 192 / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.4712, allocations: 8.375 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4714, allocations: 55.84 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.4714, allocations: 11.88 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.4724, allocations: 179.6 kB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.4725, allocations: 43.97 kB / 1.341 GB, free: 1.988 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.0002502/0.4727, allocations: 168 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.4728, allocations: 35.77 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.168e-05/0.4729, allocations: 37.8 kB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4729, allocations: 0 / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4729, allocations: 3.938 kB / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.473, allocations: 39.73 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.473, allocations: 8 kB / 1.341 GB, free: 1.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4731, allocations: 11.98 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.4732, allocations: 35.88 kB / 1.341 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001472/0.4747, allocations: 0.6359 MB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001233/0.4759, allocations: 0.7896 MB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000306/0.4762, allocations: 139.8 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001998/0.4764, allocations: 179.2 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of Backend: time 5.41e-07/0.4764, allocations: 0 / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.4782, allocations: 0.9291 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of SimCode: time 0.001475/0.4797, allocations: 1.042 MB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of Templates: time 0.01544/0.4951, allocations: 8.883 MB / 1.354 GB, free: 5.047 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] 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: 9.68196211400209]