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.00176/0.00176, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.00255/0.00255, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.532/1.532, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.929/2.929, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.044e-06/2.044e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.647e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002626/0.002652, allocations: 1.224 MB / 0.8121 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.005769, allocations: 1.707 MB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.00591, allocations: 4.781 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.592e-05/0.005986, allocations: 27.61 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.006269, allocations: 92.97 kB / 0.8139 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.007859, allocations: 0.6315 MB / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.008945, allocations: 0.7601 MB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.009116, allocations: 46.66 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007565/0.009873, allocations: 431.3 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.01035, allocations: 227.4 kB / 0.8159 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.01052, allocations: 73.19 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.0107, allocations: 79.98 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.0108, allocations: 75.73 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.01114, allocations: 219.6 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.01225, allocations: 0.8042 MB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01226, allocations: 0 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01226, allocations: 0 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.01228, allocations: 0 / 0.8171 GB, free: 11.68 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.001806/0.01408, allocations: 0.86 MB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01412, allocations: 12.03 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.01434, allocations: 64.7 kB / 0.818 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.01592, allocations: 412.6 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.01598, allocations: 29.45 kB / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.01611, allocations: 44.38 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.01668, allocations: 222.8 kB / 0.8187 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01669, allocations: 0.6875 kB / 0.8187 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.01671, allocations: 4.375 kB / 0.8187 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01673, allocations: 12.91 kB / 0.8187 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.01711, allocations: 118 kB / 0.8188 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.01876, allocations: 0.793 MB / 0.8196 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.01956, allocations: 219.2 kB / 0.8198 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.01987, allocations: 100.2 kB / 0.8199 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.0199, allocations: 11.94 kB / 0.8199 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007107/0.02061, allocations: 298 kB / 0.8202 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.02061, allocations: 1.344 kB / 0.8202 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001411/0.02202, allocations: 481.4 kB / 0.8207 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.02212, allocations: 110.8 kB / 0.8208 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.02247, allocations: 264.2 kB / 0.821 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.02257, allocations: 49.7 kB / 0.8211 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.02276, allocations: 160.9 kB / 0.8212 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.02289, allocations: 107.2 kB / 0.8213 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.02322, allocations: 150.1 kB / 0.8215 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.02344, allocations: 354.7 kB / 0.8218 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/0.02425, allocations: 416.9 kB / 0.8222 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.02534, allocations: 0.7582 MB / 0.8229 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.02649, allocations: 0.5784 MB / 0.8235 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.0265, allocations: 6.469 kB / 0.8235 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002168/0.02866, allocations: 1.063 MB / 0.8245 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.02883, allocations: 183.4 kB / 0.8247 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.02884, allocations: 7.984 kB / 0.8247 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.02887, allocations: 4 kB / 0.8247 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.02914, allocations: 60.22 kB / 0.8248 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.02915, allocations: 8 kB / 0.8248 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.03019, allocations: 187.5 kB / 0.825 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.0303, allocations: 43.97 kB / 0.825 GB, free: 2.949 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.000268/0.03056, allocations: 175.7 kB / 0.8252 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.03066, allocations: 43.81 kB / 0.8252 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.03074, allocations: 33.8 kB / 0.8253 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.03075, allocations: 8 kB / 0.8253 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.03076, allocations: 0 / 0.8253 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.03077, allocations: 3.984 kB / 0.8253 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.03234, allocations: 0.8207 MB / 0.8261 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03234, allocations: 0 / 0.8261 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.03261, allocations: 51.89 kB / 0.8261 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.03261, allocations: 4 kB / 0.8261 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.03264, allocations: 8 kB / 0.8261 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.03265, allocations: 4 kB / 0.8261 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.03266, allocations: 11.81 kB / 0.8262 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.03429, allocations: 0.7203 MB / 0.8269 GB, free: 1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.03435, allocations: 27.75 kB / 0.8269 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.0344, allocations: 12.03 kB / 0.8269 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.03467, allocations: 23.92 kB / 0.8269 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.03475, allocations: 23.95 kB / 0.8269 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.03478, allocations: 19.98 kB / 0.827 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002403/0.03502, allocations: 183.1 kB / 0.8271 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03502, allocations: 0 / 0.8271 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006434/0.03567, allocations: 115.9 kB / 0.8272 GB, free: 0.6016 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.0002223/0.03589, allocations: 123 kB / 0.8274 GB, free: 484 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.03764, allocations: 0.9447 MB / 0.8283 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03764, allocations: 4.25 kB / 0.8283 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.03804, allocations: 143.7 kB / 0.8284 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.03891, allocations: 128 kB / 0.8285 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.04023, allocations: 0.5911 MB / 0.8291 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.04044, allocations: 168.9 kB / 0.8293 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002132/0.04065, allocations: 51.27 kB / 0.8293 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.04075, allocations: 40.48 kB / 0.8294 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of SimCode: time 4.21e-07/0.04075, allocations: 0 / 0.8294 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.01604/0.05679, allocations: 7.691 MB / 0.8369 GB, free: 6.766 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.2834720259998]