Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.816/2.816, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 71.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7512, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002972/0.7542, allocations: 1.343 MB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.7569, allocations: 1.69 MB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.757, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.834e-05/0.7571, allocations: 19.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.7573, allocations: 63.55 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.7588, allocations: 0.606 MB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007928/0.7596, allocations: 0.7954 MB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.7598, allocations: 64.72 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.7601, allocations: 303.3 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.7604, allocations: 247.1 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.7605, allocations: 72 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.7607, allocations: 83.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.7607, allocations: 71.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.761, allocations: 271 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.7617, allocations: 0.6836 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.7617, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7618, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.7618, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 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.001464/0.7632, allocations: 0.8748 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.7633, allocations: 11.98 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.7635, allocations: 48.56 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.765, allocations: 475.2 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.7651, allocations: 24.38 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.7652, allocations: 48.36 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.7657, allocations: 217.7 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.7657, allocations: 3.938 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.7657, allocations: 7.984 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7657, allocations: 7.938 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.7661, allocations: 119.9 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.7674, allocations: 0.9609 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.7681, allocations: 224.1 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.7684, allocations: 114.5 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.7684, allocations: 3.938 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.769, allocations: 301.3 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.769, allocations: 0 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001172/0.7702, allocations: 451.3 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.7703, allocations: 114.8 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.7706, allocations: 262.9 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.7707, allocations: 49.7 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.7708, allocations: 152.9 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.7709, allocations: 102.5 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.7712, allocations: 158 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7714, allocations: 346.8 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.7719, allocations: 224.8 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.7725, allocations: 386.7 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.7735, allocations: 0.569 MB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7735, allocations: 4 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001604/0.7751, allocations: 0.8403 MB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7752, allocations: 194.3 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7753, allocations: 7.875 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7753, allocations: 11.94 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.7755, allocations: 47.91 kB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7755, allocations: 4 kB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.7764, allocations: 183.4 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.7765, allocations: 43.97 kB / 1.03 GB, free: 4.387 MB / 0.7794 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.0002497/0.7768, allocations: 172 kB / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.7768, allocations: 31.62 kB / 1.03 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.709e-05/0.7769, allocations: 37.8 kB / 1.03 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7769, allocations: 4 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7769, allocations: 0 / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.777, allocations: 4 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.7783, allocations: 0.926 MB / 1.031 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7783, allocations: 0 / 1.031 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.7786, allocations: 51.89 kB / 1.031 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7786, allocations: 4 kB / 1.031 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.7786, allocations: 8 kB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.7786, allocations: 4 kB / 1.031 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7786, allocations: 0 / 1.031 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.7798, allocations: 0.7118 MB / 1.032 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.7799, allocations: 112.6 kB / 1.032 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.7799, allocations: 8 kB / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7802, allocations: 20.02 kB / 1.032 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.7802, allocations: 27.97 kB / 1.032 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.7803, allocations: 19.98 kB / 1.032 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001726/0.7804, allocations: 181.9 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7804, allocations: 0 / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000508/0.781, allocations: 112 kB / 1.033 GB, free: 1.855 MB / 0.7794 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.0002343/0.7812, allocations: 124.2 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.7825, allocations: 0.8483 MB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7826, allocations: 4 kB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.7829, allocations: 157.9 kB / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.7837, allocations: 127.1 kB / 1.034 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.7848, allocations: 0.6739 MB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7852, allocations: 0.7803 MB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.7854, allocations: 59.27 kB / 1.035 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.7855, allocations: 35.44 kB / 1.035 GB, free: 14.92 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.7855, allocations: 0 / 1.035 GB, free: 14.92 MB / 0.795 GB Notification: Performance of Templates: time 0.01203/0.7975, allocations: 6.928 MB / 1.042 GB, free: 8.082 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches