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.001379/0.001379, allocations: 105.7 kB / 16.41 MB, free: 6.461 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.001519/0.001519, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7491, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002359/0.7515, allocations: 1.291 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.7535, allocations: 1.696 MB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.7536, allocations: 8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.7537, allocations: 27.61 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.7539, allocations: 71.36 kB / 1.212 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.7552, allocations: 0.6481 MB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.7559, allocations: 0.7916 MB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.756, allocations: 72.7 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.7563, allocations: 303.3 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.7566, allocations: 279 kB / 1.214 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.7567, allocations: 72 kB / 1.214 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.7569, allocations: 79.98 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.757, allocations: 83.67 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.7572, allocations: 263.1 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.7578, allocations: 0.6872 MB / 1.215 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.7578, allocations: 0 / 1.215 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7578, allocations: 4 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7578, allocations: 0 / 1.215 GB, free: 7.297 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.001255/0.7591, allocations: 0.8671 MB / 1.216 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7591, allocations: 8.031 kB / 1.216 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.7592, allocations: 52.55 kB / 1.216 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7606, allocations: 467.2 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.7606, allocations: 28.38 kB / 1.216 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.7607, allocations: 48.3 kB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.7612, allocations: 208.7 kB / 1.216 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7612, allocations: 3.938 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7612, allocations: 11.98 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7612, allocations: 8 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.7615, allocations: 119.9 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.7627, allocations: 0.9492 MB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.7634, allocations: 228.1 kB / 1.218 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.7637, allocations: 106.5 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.7637, allocations: 7.984 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005742/0.7643, allocations: 291.1 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.7643, allocations: 0 / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.00114/0.7654, allocations: 460.2 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.7655, allocations: 118.8 kB / 1.219 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.7658, allocations: 266.9 kB / 1.219 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.7659, allocations: 45.7 kB / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.766, allocations: 156.9 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.7661, allocations: 106.5 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.7663, allocations: 154 kB / 1.219 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7665, allocations: 342.8 kB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.767, allocations: 228.8 kB / 1.22 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.7676, allocations: 384.7 kB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.7684, allocations: 0.5733 MB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7684, allocations: 0 / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001449/0.7699, allocations: 0.8441 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.77, allocations: 182.2 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.77, allocations: 4 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.77, allocations: 7.938 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.7703, allocations: 60.22 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7703, allocations: 7.984 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.7712, allocations: 187.4 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.7713, allocations: 39.97 kB / 1.222 GB, free: 15.27 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.0002049/0.7715, allocations: 179.4 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.7716, allocations: 31.62 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.7717, allocations: 37.8 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7717, allocations: 8 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7717, allocations: 0 / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7717, allocations: 3.984 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.7729, allocations: 0.9223 MB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7729, allocations: 0 / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.7732, allocations: 43.95 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.7732, allocations: 4 kB / 1.223 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.7732, allocations: 8 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7732, allocations: 7.922 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7732, allocations: 4 kB / 1.223 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.7743, allocations: 0.7119 MB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.7744, allocations: 104.7 kB / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.7744, allocations: 12.05 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.7747, allocations: 19.97 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.7747, allocations: 27.97 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.7748, allocations: 19.98 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001471/0.7749, allocations: 185.9 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7749, allocations: 0 / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005148/0.7755, allocations: 111.9 kB / 1.224 GB, free: 12.73 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.0002029/0.7757, allocations: 125.1 kB / 1.224 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.7769, allocations: 0.8402 MB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7769, allocations: 4.25 kB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.7773, allocations: 167.8 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.778, allocations: 117.9 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.7791, allocations: 0.6167 MB / 1.226 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.7794, allocations: 0.7767 MB / 1.227 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.7795, allocations: 39.42 kB / 1.227 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.7795, allocations: 0 / 1.227 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.007903/0.7874, allocations: 5.773 MB / 1.233 GB, free: 4.184 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time