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.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.001929/0.001929, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.0023/0.0023, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.521/3.521, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.803e-06/1.803e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.762e-05, allocations: 2.906 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002536/0.002563, allocations: 1.24 MB / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.005149, allocations: 1.728 MB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.005237, allocations: 0 / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.714e-05/0.005295, allocations: 23.67 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.005533, allocations: 100.3 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.0069, allocations: 0.6314 MB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.007873, allocations: 0.7632 MB / 0.8819 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.008019, allocations: 52.84 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.008546, allocations: 423.4 kB / 0.8823 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.008925, allocations: 227.4 kB / 0.8826 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.009058, allocations: 72 kB / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.00923, allocations: 87.94 kB / 0.8827 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.009312, allocations: 71.73 kB / 0.8828 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.009604, allocations: 221 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.01052, allocations: 0.8025 MB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01052, allocations: 0 / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01053, allocations: 0 / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.01053, allocations: 4.531 kB / 0.8838 GB, free: 216 kB / 0.8386 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.001551/0.01208, allocations: 0.9852 MB / 0.8847 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01212, allocations: 12.02 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.01228, allocations: 64.75 kB / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.01358, allocations: 391.1 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.01363, allocations: 24.38 kB / 0.8852 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.01374, allocations: 56.36 kB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.01419, allocations: 222.5 kB / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.0142, allocations: 192 / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.01423, allocations: 8.359 kB / 0.8855 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.01424, allocations: 8.125 kB / 0.8855 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.01454, allocations: 111.9 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01596, allocations: 0.9655 MB / 0.8865 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.01656, allocations: 229.7 kB / 0.8868 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.01679, allocations: 98.97 kB / 0.8869 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.01682, allocations: 8 kB / 0.8869 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.01738, allocations: 308.3 kB / 0.8872 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.01738, allocations: 4 kB / 0.8872 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.001101/0.01848, allocations: 442.1 kB / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.01858, allocations: 122.7 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.01896, allocations: 358.3 kB / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.01905, allocations: 53.7 kB / 0.8881 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.01925, allocations: 215.7 kB / 0.8883 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.01938, allocations: 111.2 kB / 0.8884 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.01969, allocations: 175.8 kB / 0.8886 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004105/0.0201, allocations: 0.5352 MB / 0.8891 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.02081, allocations: 447.1 kB / 0.8895 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.02185, allocations: 0.8686 MB / 0.8904 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/0.02284, allocations: 0.6311 MB / 0.891 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02285, allocations: 3.938 kB / 0.891 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001951/0.0248, allocations: 1.129 MB / 0.8921 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.02495, allocations: 186.2 kB / 0.8923 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.02496, allocations: 7.938 kB / 0.8923 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.02498, allocations: 4.375 kB / 0.8923 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.02519, allocations: 55.91 kB / 0.8923 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.0252, allocations: 4 kB / 0.8923 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.02595, allocations: 135.6 kB / 0.8925 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.02606, allocations: 51.95 kB / 0.8925 GB, free: 6.492 MB / 0.8542 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.0002792/0.02634, allocations: 222.4 kB / 0.8927 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.02642, allocations: 59.75 kB / 0.8928 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.02651, allocations: 29.8 kB / 0.8928 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.02651, allocations: 4 kB / 0.8928 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.02652, allocations: 4 kB / 0.8928 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.02653, allocations: 0 / 0.8928 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.02794, allocations: 0.9839 MB / 0.8938 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02794, allocations: 0 / 0.8938 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.02815, allocations: 43.91 kB / 0.8938 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02815, allocations: 0 / 0.8938 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.02819, allocations: 11.98 kB / 0.8938 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.02819, allocations: 4 kB / 0.8938 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.0282, allocations: 3.938 kB / 0.8938 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.02943, allocations: 0.8419 MB / 0.8947 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.02948, allocations: 35.7 kB / 0.8947 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.02953, allocations: 11.98 kB / 0.8947 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.02973, allocations: 11.94 kB / 0.8947 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.02981, allocations: 39.81 kB / 0.8948 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.02984, allocations: 19.98 kB / 0.8948 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002379/0.03008, allocations: 235 kB / 0.895 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.03008, allocations: 0 / 0.895 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005291/0.03061, allocations: 115.9 kB / 0.8951 GB, free: 3.758 MB / 0.8542 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.0002113/0.03082, allocations: 119.1 kB / 0.8952 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.0325, allocations: 1.073 MB / 0.8963 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0325, allocations: 0 / 0.8963 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.03283, allocations: 160.2 kB / 0.8964 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.03365, allocations: 131.8 kB / 0.8966 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.03482, allocations: 0.5878 MB / 0.8971 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.03501, allocations: 169 kB / 0.8973 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.03521, allocations: 55.3 kB / 0.8973 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.03529, allocations: 36.5 kB / 0.8974 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.03529, allocations: 0 / 0.8974 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.01642/0.0517, allocations: 7.694 MB / 0.9049 GB, free: 9.742 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.847907833056524]