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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008984/0.008983, allocations: 102 kB / 15.73 MB, free: 6.051 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.001656/0.001656, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.88 kB / 1.054 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9712, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002795/0.9741, allocations: 1.297 MB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.9765, allocations: 1.696 MB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.9766, allocations: 7.938 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.129e-05/0.9767, allocations: 23.67 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.9769, allocations: 71.36 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.9783, allocations: 0.6537 MB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.9791, allocations: 0.7955 MB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.9792, allocations: 60.73 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.9796, allocations: 307.2 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.9799, allocations: 275.1 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.9801, allocations: 72 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.9802, allocations: 83.98 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.9803, allocations: 75.73 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.9806, allocations: 267.1 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.9812, allocations: 0.6911 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9812, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9812, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.9812, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 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.001288/0.9825, allocations: 0.871 MB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9826, allocations: 16.03 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.9827, allocations: 48.55 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.9841, allocations: 463.2 kB / 1.215 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.9841, allocations: 24.38 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.9842, allocations: 48.36 kB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.9846, allocations: 220.6 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.9847, allocations: 7.922 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.9847, allocations: 7.984 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9847, allocations: 7.938 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.985, allocations: 115.9 kB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.9862, allocations: 0.953 MB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.9869, allocations: 228.2 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.9872, allocations: 106.5 kB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.9872, allocations: 11.98 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/0.9877, allocations: 287.1 kB / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.9878, allocations: 0 / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001155/0.9889, allocations: 457 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.989, allocations: 110.8 kB / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.9893, allocations: 266.9 kB / 1.218 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.9894, allocations: 45.7 kB / 1.218 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.9895, allocations: 156.9 kB / 1.218 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.9896, allocations: 102.5 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.9898, allocations: 154 kB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.99, allocations: 350.8 kB / 1.219 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.9905, allocations: 224.8 kB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.9911, allocations: 384.7 kB / 1.219 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.992, allocations: 0.5738 MB / 1.22 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.992, allocations: 4 kB / 1.22 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001493/0.9935, allocations: 0.8372 MB / 1.221 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.9936, allocations: 186.6 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9937, allocations: 8 kB / 1.221 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9937, allocations: 7.938 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.9939, allocations: 47.91 kB / 1.221 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.9939, allocations: 11.94 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.9949, allocations: 183.4 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.995, allocations: 39.97 kB / 1.221 GB, free: 15.21 MB / 0.9512 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.0001954/0.9952, allocations: 175.5 kB / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.9952, allocations: 31.62 kB / 1.221 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.9953, allocations: 37.8 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.9953, allocations: 4 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9953, allocations: 0 / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.9953, allocations: 0 / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.9966, allocations: 0.9336 MB / 1.222 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9966, allocations: 0 / 1.222 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.9968, allocations: 44.08 kB / 1.222 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9969, allocations: 4 kB / 1.222 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.9969, allocations: 11.94 kB / 1.222 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.9969, allocations: 8 kB / 1.222 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9969, allocations: 7.984 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.998, allocations: 0.7198 MB / 1.223 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.9981, allocations: 104.7 kB / 1.223 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.9981, allocations: 8 kB / 1.223 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.9984, allocations: 20.02 kB / 1.223 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.9984, allocations: 27.97 kB / 1.223 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.9985, allocations: 19.98 kB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001514/0.9986, allocations: 182 kB / 1.224 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9986, allocations: 4 kB / 1.224 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004979/0.9991, allocations: 111.9 kB / 1.224 GB, free: 12.66 MB / 0.9512 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.0002025/0.9993, allocations: 119.2 kB / 1.224 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.001, allocations: 0.8438 MB / 1.225 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.001, allocations: 0 / 1.225 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/1.001, allocations: 159.8 kB / 1.225 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/1.002, allocations: 115.6 kB / 1.225 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.003, allocations: 0.5877 MB / 1.225 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/1.003, allocations: 0.7728 MB / 1.226 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001827/1.003, allocations: 55.28 kB / 1.226 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/1.003, allocations: 39.42 kB / 1.226 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/1.003, allocations: 0 / 1.226 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.01244/1.016, allocations: 7.206 MB / 1.233 GB, free: 2.723 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) 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) Reference file matches