Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.113/3.113, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.89 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.217, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002511/1.22, allocations: 1.293 MB / 1.264 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00297/1.223, allocations: 1.687 MB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/1.223, allocations: 2.375 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.42e-05/1.223, allocations: 27 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/1.223, allocations: 77.38 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/1.225, allocations: 0.6546 MB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001269/1.226, allocations: 0.7977 MB / 1.267 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/1.226, allocations: 66.5 kB / 1.267 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/1.227, allocations: 299.4 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/1.228, allocations: 279.9 kB / 1.268 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/1.228, allocations: 75.5 kB / 1.268 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/1.228, allocations: 81.22 kB / 1.268 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/1.228, allocations: 73.58 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/1.229, allocations: 268 kB / 1.268 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/1.23, allocations: 0.6979 MB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.23, allocations: 0.8125 kB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.23, allocations: 0 / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.23, allocations: 0 / 1.269 GB, free: 4.406 MB / 0.9981 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.001502/1.231, allocations: 0.8701 MB / 1.27 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.231, allocations: 13.16 kB / 1.27 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/1.232, allocations: 52.75 kB / 1.27 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.233, allocations: 460.7 kB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.233, allocations: 28.03 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.233, allocations: 51.84 kB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/1.234, allocations: 215.1 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.234, allocations: 7.875 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/1.234, allocations: 8.547 kB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.234, allocations: 4 kB / 1.271 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/1.234, allocations: 115 kB / 1.271 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.235, allocations: 0.9591 MB / 1.272 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/1.236, allocations: 228.8 kB / 1.272 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/1.236, allocations: 107.8 kB / 1.272 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/1.236, allocations: 8.391 kB / 1.272 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/1.237, allocations: 288.4 kB / 1.272 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/1.237, allocations: 0.8438 kB / 1.272 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.00125/1.238, allocations: 459.4 kB / 1.273 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.238, allocations: 114.6 kB / 1.273 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.239, allocations: 269 kB / 1.273 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.175e-05/1.239, allocations: 51.2 kB / 1.273 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.239, allocations: 158.5 kB / 1.273 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/1.239, allocations: 105 kB / 1.273 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/1.239, allocations: 151.4 kB / 1.273 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/1.239, allocations: 350 kB / 1.274 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/1.24, allocations: 224.8 kB / 1.274 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/1.241, allocations: 386 kB / 1.274 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/1.242, allocations: 0.5751 MB / 1.275 GB, free: 364 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.242, allocations: 4.875 kB / 1.275 GB, free: 360 kB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001746/1.243, allocations: 0.8397 MB / 1.276 GB, free: 15.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.243, allocations: 182.6 kB / 1.276 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.244, allocations: 12.59 kB / 1.276 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.244, allocations: 9.719 kB / 1.276 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/1.244, allocations: 53 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/1.244, allocations: 10.41 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.245, allocations: 181.5 kB / 1.276 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/1.245, allocations: 42.16 kB / 1.276 GB, free: 15.66 MB / 1.014 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.0002828/1.245, allocations: 180.8 kB / 1.276 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/1.245, allocations: 33.16 kB / 1.276 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/1.245, allocations: 36.28 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.245, allocations: 3.531 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.245, allocations: 2.094 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.245, allocations: 2.156 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/1.247, allocations: 0.9163 MB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.247, allocations: 0 / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.247, allocations: 46.48 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.247, allocations: 3.281 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.247, allocations: 10.77 kB / 1.277 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.247, allocations: 6.656 kB / 1.277 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.247, allocations: 0.625 kB / 1.277 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/1.249, allocations: 0.7238 MB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.249, allocations: 107.7 kB / 1.278 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/1.249, allocations: 9.562 kB / 1.278 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/1.249, allocations: 14.95 kB / 1.278 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/1.249, allocations: 30.58 kB / 1.278 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.249, allocations: 23.03 kB / 1.278 GB, free: 14.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002208/1.25, allocations: 180.6 kB / 1.278 GB, free: 14.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.25, allocations: 4 kB / 1.278 GB, free: 14.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005925/1.25, allocations: 117.3 kB / 1.279 GB, free: 14.12 MB / 1.014 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.0002736/1.25, allocations: 125.2 kB / 1.279 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001434/1.252, allocations: 0.8423 MB / 1.279 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.252, allocations: 1.656 kB / 1.279 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/1.252, allocations: 166.6 kB / 1.28 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/1.253, allocations: 120.6 kB / 1.28 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.254, allocations: 0.6236 MB / 1.28 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/1.255, allocations: 0.7722 MB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.255, allocations: 41.83 kB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.255, allocations: 1.594 kB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Templates: time 0.01322/1.268, allocations: 5.784 MB / 1.287 GB, free: 11.65 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time [Calling sys.exit(0), Time elapsed: 12.591061417013407]