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.001365/0.001365, allocations: 113.1 kB / 17.13 MB, free: 5.723 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.001439/0.001439, allocations: 207.3 kB / 20.1 MB, free: 2.922 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.982/2.982, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.002118/0.002118, allocations: 67.89 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9763/0.9784, allocations: 176.1 MB / 1.322 GB, free: 25.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002437/0.9808, allocations: 1.294 MB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.9827, allocations: 1.735 MB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.9828, allocations: 2.969 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.9828, allocations: 23.69 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.983, allocations: 86.91 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.9842, allocations: 0.6481 MB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.9848, allocations: 0.7569 MB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.9849, allocations: 63.3 kB / 1.327 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.9852, allocations: 295.2 kB / 1.327 GB, free: 22.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.9855, allocations: 279.8 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.9856, allocations: 72.41 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.9858, allocations: 92.34 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.9858, allocations: 74.72 kB / 1.327 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.9861, allocations: 260.9 kB / 1.328 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.9868, allocations: 0.6904 MB / 1.328 GB, free: 21.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9868, allocations: 0.6094 kB / 1.328 GB, free: 21.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9868, allocations: 0 / 1.328 GB, free: 21.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9868, allocations: 0.625 kB / 1.328 GB, free: 21.58 MB / 1.061 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.001343/0.9881, allocations: 0.8763 MB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9882, allocations: 9.25 kB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.9883, allocations: 48.27 kB / 1.329 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.9898, allocations: 468.3 kB / 1.33 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.9898, allocations: 25.14 kB / 1.33 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.9899, allocations: 45.7 kB / 1.33 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.9905, allocations: 223.5 kB / 1.33 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9905, allocations: 4.781 kB / 1.33 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.9905, allocations: 8.406 kB / 1.33 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.9905, allocations: 3 kB / 1.33 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.9909, allocations: 123.5 kB / 1.33 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.9921, allocations: 0.9608 MB / 1.331 GB, free: 19.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.9928, allocations: 213.9 kB / 1.331 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.9931, allocations: 101.9 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.9931, allocations: 4.719 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.9937, allocations: 301 kB / 1.332 GB, free: 19.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.9937, allocations: 0 / 1.332 GB, free: 19.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001211/0.9949, allocations: 455.9 kB / 1.332 GB, free: 19.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.9949, allocations: 114.9 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.9952, allocations: 263.5 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.9953, allocations: 52.78 kB / 1.332 GB, free: 18.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.9954, allocations: 158.6 kB / 1.333 GB, free: 18.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.9955, allocations: 107.5 kB / 1.333 GB, free: 18.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.9958, allocations: 153.5 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.9958, allocations: 345.6 kB / 1.333 GB, free: 18.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.9964, allocations: 221.4 kB / 1.333 GB, free: 18.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.997, allocations: 391.5 kB / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.9979, allocations: 0.5672 MB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9979, allocations: 5.438 kB / 1.334 GB, free: 17.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00178/0.9997, allocations: 0.859 MB / 1.335 GB, free: 17.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.9998, allocations: 182.4 kB / 1.335 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9998, allocations: 3.781 kB / 1.335 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.9999, allocations: 10.14 kB / 1.335 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1, allocations: 56.98 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1, allocations: 6.375 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.001, allocations: 173.2 kB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/1.001, allocations: 51.36 kB / 1.336 GB, free: 16.84 MB / 1.061 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.000226/1.002, allocations: 178.4 kB / 1.336 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/1.002, allocations: 31.59 kB / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/1.002, allocations: 36.02 kB / 1.336 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.002, allocations: 4.125 kB / 1.336 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.002, allocations: 1.375 kB / 1.336 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/1.002, allocations: 6.016 kB / 1.336 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.003, allocations: 0.9176 MB / 1.337 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.003, allocations: 1.281 kB / 1.337 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/1.003, allocations: 45.25 kB / 1.337 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/1.003, allocations: 6.781 kB / 1.337 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/1.003, allocations: 11.58 kB / 1.337 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.003, allocations: 2.75 kB / 1.337 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.003, allocations: 5.375 kB / 1.337 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.005, allocations: 0.7053 MB / 1.337 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/1.005, allocations: 115.8 kB / 1.338 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/1.005, allocations: 8.25 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1.005, allocations: 20.31 kB / 1.338 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/1.005, allocations: 37.97 kB / 1.338 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/1.005, allocations: 14.33 kB / 1.338 GB, free: 15.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001624/1.005, allocations: 180.5 kB / 1.338 GB, free: 15.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.005, allocations: 0 / 1.338 GB, free: 15.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005829/1.006, allocations: 113 kB / 1.338 GB, free: 15.3 MB / 1.061 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.0002014/1.006, allocations: 133.3 kB / 1.338 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.007, allocations: 0.7554 MB / 1.339 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.007, allocations: 1.406 kB / 1.339 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/1.008, allocations: 152.8 kB / 1.339 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/1.008, allocations: 115.5 kB / 1.339 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.009, allocations: 0.6322 MB / 1.34 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/1.01, allocations: 0.7713 MB / 1.34 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/1.01, allocations: 42.5 kB / 1.34 GB, free: 13.47 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.01, allocations: 7.938 kB / 1.34 GB, free: 13.46 MB / 1.061 GB Notification: Performance of Templates: time 0.01167/1.021, allocations: 5.784 MB / 1.346 GB, free: 12.86 MB / 1.061 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] "" 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.239261307011475]