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.001613/0.001613, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001916/0.001916, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.549/1.549, allocations: 225.6 MB / 249.4 MB, free: 3.113 MB / 190.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.979/2.979, allocations: 476.7 MB / 0.7628 GB, free: 15.33 MB / 0.6075 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.002098/0.002098, allocations: 79.88 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273/1.275, allocations: 168.7 MB / 1.272 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003102/1.278, allocations: 1.312 MB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002545/1.28, allocations: 1.701 MB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/1.28, allocations: 10.56 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.828e-05/1.281, allocations: 21.23 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/1.281, allocations: 91.94 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/1.282, allocations: 0.6468 MB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009683/1.283, allocations: 0.7546 MB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/1.284, allocations: 51.61 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/1.284, allocations: 300.6 kB / 1.277 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/1.284, allocations: 276.4 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/1.284, allocations: 71.66 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/1.285, allocations: 88.92 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/1.285, allocations: 67.95 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/1.285, allocations: 265 kB / 1.278 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009218/1.286, allocations: 0.6955 MB / 1.278 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.286, allocations: 4.812 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.286, allocations: 0 / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.286, allocations: 0 / 1.278 GB, free: 4.352 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.001525/1.288, allocations: 0.8715 MB / 1.279 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.288, allocations: 9.625 kB / 1.279 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/1.288, allocations: 56.72 kB / 1.279 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.289, allocations: 464.2 kB / 1.28 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/1.289, allocations: 25.02 kB / 1.28 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.289, allocations: 49.19 kB / 1.28 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/1.29, allocations: 217.2 kB / 1.28 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/1.29, allocations: 7.922 kB / 1.28 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/1.29, allocations: 11.41 kB / 1.28 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.29, allocations: 4.844 kB / 1.28 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/1.29, allocations: 115.2 kB / 1.28 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/1.292, allocations: 0.9595 MB / 1.281 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/1.293, allocations: 221.6 kB / 1.281 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/1.293, allocations: 98.81 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/1.293, allocations: 3.828 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/1.293, allocations: 289.7 kB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.462e-06/1.293, allocations: 0 / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001188/1.295, allocations: 459.1 kB / 1.282 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.295, allocations: 118.8 kB / 1.282 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/1.295, allocations: 266.7 kB / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/1.295, allocations: 47.73 kB / 1.282 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.295, allocations: 156.2 kB / 1.282 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/1.295, allocations: 104.1 kB / 1.283 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/1.296, allocations: 151.9 kB / 1.283 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.296, allocations: 345.9 kB / 1.283 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/1.296, allocations: 228.8 kB / 1.283 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/1.297, allocations: 389.3 kB / 1.284 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/1.298, allocations: 0.5802 MB / 1.284 GB, free: 308 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.298, allocations: 0 / 1.284 GB, free: 308 kB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001629/1.299, allocations: 0.8491 MB / 1.285 GB, free: 15.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.3, allocations: 184.9 kB / 1.285 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.3, allocations: 4.875 kB / 1.285 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/1.3, allocations: 12.92 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.3, allocations: 53.59 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/1.3, allocations: 10.36 kB / 1.285 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/1.301, allocations: 181.5 kB / 1.285 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.301, allocations: 42.88 kB / 1.286 GB, free: 15.62 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.0002572/1.301, allocations: 177.9 kB / 1.286 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/1.301, allocations: 34.33 kB / 1.286 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/1.301, allocations: 36.92 kB / 1.286 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.301, allocations: 4.062 kB / 1.286 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.301, allocations: 3.25 kB / 1.286 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-06/1.301, allocations: 1.969 kB / 1.286 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.303, allocations: 0.9277 MB / 1.287 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.303, allocations: 1.031 kB / 1.287 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/1.303, allocations: 46.23 kB / 1.287 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.303, allocations: 2.562 kB / 1.287 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.303, allocations: 12.02 kB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.303, allocations: 2.156 kB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.303, allocations: 5.406 kB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.305, allocations: 0.7213 MB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.305, allocations: 109.5 kB / 1.288 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/1.305, allocations: 12.3 kB / 1.288 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/1.305, allocations: 15.27 kB / 1.288 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/1.305, allocations: 31.41 kB / 1.288 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/1.305, allocations: 14.67 kB / 1.288 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002142/1.305, allocations: 179.9 kB / 1.288 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.305, allocations: 0 / 1.288 GB, free: 14.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005395/1.306, allocations: 121.8 kB / 1.288 GB, free: 14.06 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.0002786/1.306, allocations: 125.4 kB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001415/1.308, allocations: 0.7626 MB / 1.289 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.308, allocations: 0 / 1.289 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/1.308, allocations: 138.7 kB / 1.289 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/1.309, allocations: 112.2 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.31, allocations: 0.6135 MB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/1.311, allocations: 0.7729 MB / 1.29 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002126/1.311, allocations: 56.27 kB / 1.29 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/1.311, allocations: 38.31 kB / 1.29 GB, free: 12.26 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.311, allocations: 3.938 kB / 1.29 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Templates: time 0.01868/1.33, allocations: 7.099 MB / 1.297 GB, free: 11.7 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.276596784591675]