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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001073/0.001073, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.006/3.006, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004077, allocations: 12.47 kB / 0.9022 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4107, allocations: 159.6 MB / 1.058 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001512/0.4123, allocations: 0.9405 MB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.4144, allocations: 1.662 MB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4145, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.4145, allocations: 19.73 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.4147, allocations: 59.55 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.4161, allocations: 0.5682 MB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.4167, allocations: 0.6041 MB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.4169, allocations: 60.61 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.4171, allocations: 243.4 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.4174, allocations: 211.2 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.4175, allocations: 28 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.4176, allocations: 47.97 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.4177, allocations: 51.77 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4178, allocations: 93.52 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.4182, allocations: 0.5067 MB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4182, allocations: 0 / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4182, allocations: 3.984 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4183, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 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.001135/0.4194, allocations: 0.7775 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4194, allocations: 12.03 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4196, allocations: 43.62 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.4209, allocations: 480.9 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.421, allocations: 35.98 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.4211, allocations: 40 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.4215, allocations: 212 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4216, allocations: 7.938 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4216, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4216, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.4219, allocations: 119.9 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4232, allocations: 0.9647 MB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.4239, allocations: 224.2 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.4241, allocations: 114.5 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.4242, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.4248, allocations: 297.2 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.555e-06/0.4248, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001094/0.4259, allocations: 449.8 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.426, allocations: 114.8 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4263, allocations: 262.9 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.4264, allocations: 45.7 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4265, allocations: 156.9 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.4266, allocations: 110.6 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.4267, allocations: 19.94 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4269, allocations: 342.8 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.4275, allocations: 220.9 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.4281, allocations: 392.6 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/0.4287, allocations: 388.6 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4287, allocations: 4 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00151/0.4302, allocations: 0.8385 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.4303, allocations: 186.2 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4304, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.4304, allocations: 8 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4306, allocations: 55.89 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.883e-05/0.4307, allocations: 8.297 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/0.4316, allocations: 243.5 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.4317, allocations: 43.97 kB / 1.07 GB, free: 8.543 MB / 0.8262 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,$whenCondition15,$PRE.booPul1.y,booPul1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition10,$PRE.booPul2.y,booPul2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,$PRE.pul2.booPul.y,pul2.booPul.y,$PRE.booPul5.y,booPul5.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.432, allocations: 179.4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.4321, allocations: 31.62 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.899e-05/0.4322, allocations: 33.84 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4322, allocations: 7.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4322, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.4322, allocations: 7.953 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4336, allocations: 0.9209 MB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4336, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.4339, allocations: 43.91 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4339, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.4339, allocations: 11.98 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4339, allocations: 7.953 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4339, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.435, allocations: 0.7015 MB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.4351, allocations: 108.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.4352, allocations: 8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4354, allocations: 15.98 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.4355, allocations: 43.84 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.4355, allocations: 19.98 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000183/0.4357, allocations: 174 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4357, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006417/0.4364, allocations: 108 kB / 1.072 GB, free: 6.02 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002759/0.4366, allocations: 135 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.438, allocations: 0.8401 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.438, allocations: 4 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.4384, allocations: 156.5 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.4391, allocations: 100.8 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4406, allocations: 0.669 MB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.441, allocations: 0.7731 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.4413, allocations: 59.34 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.4414, allocations: 39.42 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4414, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.01463/0.456, allocations: 6.361 MB / 1.081 GB, free: 12.84 MB / 0.8419 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