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.001022/0.001022, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001145/0.001145, allocations: 163.8 kB / 24.87 MB, free: 9.234 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 0.9756/0.9756, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.98/1.98, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.425e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001903/0.001927, allocations: 1.23 MB / 0.814 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.003505, allocations: 1.745 MB / 0.8158 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.003588, allocations: 0 / 0.8158 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.003631, allocations: 28.14 kB / 0.8158 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.003798, allocations: 104.5 kB / 0.8159 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.004673, allocations: 0.6279 MB / 0.8165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.005204, allocations: 0.7576 MB / 0.8172 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005323, allocations: 44.91 kB / 0.8173 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.005747, allocations: 467.1 kB / 0.8177 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.005989, allocations: 203.9 kB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.006053, allocations: 52 kB / 0.818 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.006148, allocations: 63.98 kB / 0.818 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.006197, allocations: 73.48 kB / 0.8181 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.006332, allocations: 179.7 kB / 0.8183 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.006712, allocations: 458.6 kB / 0.8187 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006714, allocations: 0 / 0.8187 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006715, allocations: 2.594 kB / 0.8187 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.00672, allocations: 0 / 0.8187 GB, free: 11.41 MB / 0.7761 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.0008109/0.007531, allocations: 0.941 MB / 0.8196 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.007564, allocations: 8.531 kB / 0.8196 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.007662, allocations: 60.75 kB / 0.8197 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.007947, allocations: 285.1 kB / 0.82 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.007975, allocations: 30.3 kB / 0.82 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.008035, allocations: 44.38 kB / 0.82 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.008278, allocations: 199.1 kB / 0.8202 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.008287, allocations: 2.031 kB / 0.8202 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.008305, allocations: 12.36 kB / 0.8202 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.008309, allocations: 384 / 0.8202 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.008388, allocations: 62.2 kB / 0.8203 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.009134, allocations: 0.8935 MB / 0.8212 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.00935, allocations: 175.6 kB / 0.8213 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.009411, allocations: 63.03 kB / 0.8214 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.00943, allocations: 4.844 kB / 0.8214 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.009658, allocations: 250.5 kB / 0.8216 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.193e-06/0.009659, allocations: 0 / 0.8216 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0004079/0.01007, allocations: 337.2 kB / 0.822 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.01012, allocations: 109.3 kB / 0.8221 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.01027, allocations: 306.2 kB / 0.8224 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.01032, allocations: 45.7 kB / 0.8224 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01043, allocations: 211.7 kB / 0.8226 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.0105, allocations: 107.1 kB / 0.8227 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.01066, allocations: 155.7 kB / 0.8229 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01078, allocations: 0.5204 MB / 0.8234 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.01102, allocations: 323.1 kB / 0.8237 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.01135, allocations: 0.5777 MB / 0.8242 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.01172, allocations: 0.5102 MB / 0.8247 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01172, allocations: 1.406 kB / 0.8247 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000762/0.01248, allocations: 0.9154 MB / 0.8256 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/0.01257, allocations: 195.1 kB / 0.8258 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01257, allocations: 4 kB / 0.8258 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01259, allocations: 8 kB / 0.8258 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.01271, allocations: 48.56 kB / 0.8259 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01272, allocations: 12.59 kB / 0.8259 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.01307, allocations: 139.9 kB / 0.826 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.01312, allocations: 39.97 kB / 0.8261 GB, free: 3.199 MB / 0.7761 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.0001382/0.01326, allocations: 203.1 kB / 0.8263 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.0133, allocations: 51.75 kB / 0.8263 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.01335, allocations: 39.39 kB / 0.8263 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01335, allocations: 4 kB / 0.8263 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01335, allocations: 4 kB / 0.8263 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01336, allocations: 384 / 0.8263 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.01397, allocations: 0.8454 MB / 0.8272 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01397, allocations: 0 / 0.8272 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.01409, allocations: 39.91 kB / 0.8272 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01409, allocations: 4 kB / 0.8272 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.01411, allocations: 11.98 kB / 0.8272 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01412, allocations: 4 kB / 0.8272 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01412, allocations: 3.984 kB / 0.8272 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.01464, allocations: 0.7144 MB / 0.8279 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.01467, allocations: 27.75 kB / 0.828 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.0147, allocations: 8 kB / 0.828 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01481, allocations: 11.98 kB / 0.828 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.01487, allocations: 39.88 kB / 0.828 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.01488, allocations: 15.98 kB / 0.828 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.01498, allocations: 195 kB / 0.8282 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01498, allocations: 0 / 0.8282 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003711/0.01535, allocations: 111.9 kB / 0.8283 GB, free: 0.8164 MB / 0.7761 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.0001509/0.0155, allocations: 130.9 kB / 0.8284 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005847/0.01609, allocations: 0.8472 MB / 0.8293 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01609, allocations: 4 kB / 0.8293 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01619, allocations: 107.5 kB / 0.8294 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.01668, allocations: 129.2 kB / 0.8295 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.01737, allocations: 0.5295 MB / 0.83 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.062e-05/0.01744, allocations: 93.12 kB / 0.8301 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.01756, allocations: 47.28 kB / 0.8302 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.01789, allocations: 234 kB / 0.8304 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of SimCode: time 9.51e-07/0.0179, allocations: 0 / 0.8304 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.01023/0.02812, allocations: 8.302 MB / 0.8385 GB, free: 6.422 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.446388061158359]