Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001366/0.001366, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001491/0.001491, allocations: 193.2 kB / 22.17 MB, free: 5.652 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.512/1.512, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 71.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.9797, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002946/0.9827, allocations: 1.299 MB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.9854, allocations: 1.702 MB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.9856, allocations: 3.938 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.513e-05/0.9857, allocations: 27.61 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.9861, allocations: 91.34 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.9878, allocations: 0.6496 MB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009092/0.9887, allocations: 0.7525 MB / 1.279 GB, free: 4 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.9889, allocations: 64.58 kB / 1.279 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.9893, allocations: 299.2 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.9897, allocations: 271.1 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.9898, allocations: 72 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.99, allocations: 87.94 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.9901, allocations: 75.73 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.9903, allocations: 263.1 kB / 1.28 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.9911, allocations: 0.688 MB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9911, allocations: 7.938 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9911, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.9911, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 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.00163/0.9928, allocations: 0.9406 MB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.9928, allocations: 8.031 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.993, allocations: 52.7 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.9945, allocations: 471.5 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.9945, allocations: 24.38 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.9947, allocations: 44.33 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.9952, allocations: 216.7 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.9952, allocations: 3.938 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.9952, allocations: 8 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9952, allocations: 7.984 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.9956, allocations: 123.8 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.9971, allocations: 0.9532 MB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.9978, allocations: 216.1 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.9981, allocations: 98.52 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.9981, allocations: 11.92 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.9987, allocations: 289.6 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 2.675e-06/0.9987, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001276/1, allocations: 457.1 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1, allocations: 118.8 kB / 1.284 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/1, allocations: 270.9 kB / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/1.001, allocations: 49.7 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.001, allocations: 153 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.001, allocations: 107.2 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/1.001, allocations: 154 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.001, allocations: 342.8 kB / 1.285 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/1.002, allocations: 224.9 kB / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/1.003, allocations: 388.6 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/1.004, allocations: 0.5785 MB / 1.286 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.004, allocations: 0 / 1.286 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001732/1.006, allocations: 0.8466 MB / 1.287 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.006, allocations: 183.6 kB / 1.287 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.006, allocations: 4 kB / 1.287 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.006, allocations: 12.31 kB / 1.287 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/1.006, allocations: 59.89 kB / 1.287 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.006, allocations: 4 kB / 1.287 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.007, allocations: 179.5 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/1.007, allocations: 47.91 kB / 1.288 GB, free: 6.078 MB / 0.9825 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.0002834/1.007, allocations: 171.5 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/1.007, allocations: 39.8 kB / 1.288 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/1.007, allocations: 37.8 kB / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.008, allocations: 4 kB / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.008, allocations: 0 / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.008, allocations: 0 / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/1.009, allocations: 0.9302 MB / 1.289 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.009, allocations: 3.938 kB / 1.289 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/1.009, allocations: 43.91 kB / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.009, allocations: 4 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/1.009, allocations: 11.98 kB / 1.289 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.009, allocations: 4 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.009, allocations: 0 / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/1.011, allocations: 0.7062 MB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.011, allocations: 121 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/1.011, allocations: 7.938 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.011, allocations: 15.98 kB / 1.29 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/1.011, allocations: 27.95 kB / 1.29 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/1.011, allocations: 20.17 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001937/1.011, allocations: 178 kB / 1.29 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.011, allocations: 3.938 kB / 1.29 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005497/1.012, allocations: 119.9 kB / 1.29 GB, free: 3.535 MB / 0.9825 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.0002618/1.012, allocations: 127.6 kB / 1.29 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.014, allocations: 0.7684 MB / 1.291 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.014, allocations: 0 / 1.291 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/1.014, allocations: 136.9 kB / 1.291 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/1.015, allocations: 117.5 kB / 1.291 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/1.016, allocations: 0.6141 MB / 1.292 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.017, allocations: 0.7728 MB / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001839/1.017, allocations: 51.27 kB / 1.293 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/1.017, allocations: 43.42 kB / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.017, allocations: 0 / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of Templates: time 0.01467/1.031, allocations: 7.092 MB / 1.3 GB, free: 9.777 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.39601597795263]