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.001025/0.001025, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001048/0.001048, allocations: 181 kB / 23.36 MB, free: 1.129 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.9797/0.9797, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.506/2.506, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.984e-06/1.984e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.631e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002763/0.002789, allocations: 1.259 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.005697, allocations: 1.773 MB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.005833, allocations: 7.938 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.231e-05/0.005895, allocations: 27.67 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.00616, allocations: 103.2 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.007732, allocations: 0.6314 MB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.008699, allocations: 0.7562 MB / 0.8432 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.008871, allocations: 50.86 kB / 0.8432 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000723/0.009594, allocations: 463.1 kB / 0.8436 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.01002, allocations: 199.5 kB / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.01013, allocations: 52 kB / 0.8439 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.0103, allocations: 67.98 kB / 0.8439 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.01039, allocations: 63.75 kB / 0.844 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01055, allocations: 187.7 kB / 0.8442 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.01094, allocations: 458.6 kB / 0.8446 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01094, allocations: 4 kB / 0.8446 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01095, allocations: 0 / 0.8446 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.01095, allocations: 0 / 0.8446 GB, free: 8.016 MB / 0.8073 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.000826/0.01178, allocations: 0.7122 MB / 0.8453 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01181, allocations: 16.62 kB / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.0119, allocations: 52.88 kB / 0.8454 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.0122, allocations: 245.7 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01223, allocations: 24.38 kB / 0.8456 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.0123, allocations: 48.36 kB / 0.8457 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.01257, allocations: 182.8 kB / 0.8459 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01258, allocations: 192 / 0.8459 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.0126, allocations: 12.36 kB / 0.8459 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.0126, allocations: 4.375 kB / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.01268, allocations: 63.16 kB / 0.8459 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.01334, allocations: 0.5586 MB / 0.8465 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.01355, allocations: 128 kB / 0.8466 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.01361, allocations: 54.56 kB / 0.8467 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01363, allocations: 7.984 kB / 0.8467 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.01386, allocations: 237.3 kB / 0.8469 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.272e-06/0.01386, allocations: 3.938 kB / 0.8469 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0003134/0.01417, allocations: 253.5 kB / 0.8471 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01422, allocations: 110.8 kB / 0.8472 GB, free: 5.113 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01438, allocations: 251 kB / 0.8475 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.01443, allocations: 49.7 kB / 0.8475 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.0145, allocations: 145.3 kB / 0.8477 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.01457, allocations: 99.19 kB / 0.8478 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.01472, allocations: 138.1 kB / 0.8479 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.01481, allocations: 350.7 kB / 0.8482 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.01504, allocations: 307.1 kB / 0.8485 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.01533, allocations: 0.5113 MB / 0.849 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.01566, allocations: 481 kB / 0.8495 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01567, allocations: 4 kB / 0.8495 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005851/0.01625, allocations: 0.7702 MB / 0.8502 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/0.01634, allocations: 198.5 kB / 0.8504 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01635, allocations: 8 kB / 0.8504 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01637, allocations: 8 kB / 0.8504 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.0165, allocations: 51.91 kB / 0.8505 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01651, allocations: 11.94 kB / 0.8505 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.01684, allocations: 139.6 kB / 0.8506 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.01689, allocations: 35.97 kB / 0.8507 GB, free: 1.223 MB / 0.8073 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.0001248/0.01701, allocations: 155.7 kB / 0.8508 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.01705, allocations: 31.97 kB / 0.8509 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.01709, allocations: 33.8 kB / 0.8509 GB, free: 1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01709, allocations: 8 kB / 0.8509 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01709, allocations: 0 / 0.8509 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.0171, allocations: 8.031 kB / 0.8509 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.01762, allocations: 0.5917 MB / 0.8515 GB, free: 372 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01762, allocations: 4 kB / 0.8515 GB, free: 368 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01774, allocations: 39.91 kB / 0.8515 GB, free: 328 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01775, allocations: 4 kB / 0.8515 GB, free: 324 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.01777, allocations: 11.98 kB / 0.8515 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01777, allocations: 0 / 0.8515 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01777, allocations: 4 kB / 0.8515 GB, free: 308 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.01814, allocations: 499.6 kB / 0.852 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.01817, allocations: 31.75 kB / 0.852 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.0182, allocations: 8 kB / 0.8521 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01831, allocations: 15.92 kB / 0.8521 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.01836, allocations: 27.95 kB / 0.8521 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01837, allocations: 15.92 kB / 0.8521 GB, free: 15.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.01844, allocations: 88.62 kB / 0.8522 GB, free: 15.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.01844, allocations: 4 kB / 0.8522 GB, free: 15.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003335/0.01877, allocations: 115.9 kB / 0.8523 GB, free: 15.49 MB / 0.823 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.0001441/0.01892, allocations: 96.34 kB / 0.8524 GB, free: 15.39 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.01946, allocations: 0.8224 MB / 0.8532 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01947, allocations: 0.75 kB / 0.8532 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01957, allocations: 109 kB / 0.8533 GB, free: 14.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.02, allocations: 117.4 kB / 0.8534 GB, free: 14.22 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.02061, allocations: 0.5338 MB / 0.8539 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.02067, allocations: 97.06 kB / 0.854 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.0208, allocations: 47.28 kB / 0.8541 GB, free: 13.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.02111, allocations: 189.2 kB / 0.8543 GB, free: 13.31 MB / 0.823 GB Notification: Performance of SimCode: time 7.72e-07/0.02111, allocations: 0 / 0.8543 GB, free: 13.31 MB / 0.823 GB Notification: Performance of Templates: time 0.009798/0.03091, allocations: 8.115 MB / 0.8622 GB, free: 5.383 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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","",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.658794933930039]