Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007963/0.007964, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001718/0.001719, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.449/1.449, 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.628/2.628, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.09 kB / 1.054 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9588, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00178/0.9607, allocations: 0.6608 MB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.9616, allocations: 0.8039 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.9616, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.9616, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.9617, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.9619, allocations: 7.984 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.9619, allocations: 20 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.962, allocations: 11.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.9621, allocations: 7.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.9622, allocations: 15.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.9622, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.9622, allocations: 0 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.9622, allocations: 3.984 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.9622, allocations: 11.94 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.9623, allocations: 23.89 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9623, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9623, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.9624, allocations: 4 kB / 1.209 GB, free: 11.97 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004373/0.9628, allocations: 335.5 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.9628, allocations: 12.03 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.9629, allocations: 4.875 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.963, allocations: 168.2 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.963, allocations: 4.375 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.963, allocations: 384 / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.9632, allocations: 62.16 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.9632, allocations: 192 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.9632, allocations: 3.938 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9632, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.9634, allocations: 35.95 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.9638, allocations: 245 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.9639, allocations: 42.5 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.964, allocations: 24.89 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.964, allocations: 7.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.964, allocations: 30.56 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.964, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.9644, allocations: 89.55 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.9644, allocations: 51.41 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.9645, allocations: 101.8 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.9646, allocations: 25.7 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.9646, allocations: 84.12 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.9646, allocations: 7.906 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.9647, allocations: 13.72 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9648, allocations: 315 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.9649, allocations: 15.98 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.965, allocations: 23.91 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.9651, allocations: 36.83 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9651, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.9653, allocations: 73.66 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.9653, allocations: 4 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.9654, allocations: 0 / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.9654, allocations: 0 / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.9655, allocations: 11.98 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.9655, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.9655, allocations: 4 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.9655, allocations: 0 / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.75e-05/0.9656, allocations: 121.8 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.9657, allocations: 7.984 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.9659, allocations: 68.78 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9659, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9659, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.9659, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.9661, allocations: 157.6 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9661, allocations: 11.97 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.9661, allocations: 7.984 kB / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9661, allocations: 0 / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.9662, allocations: 0 / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9662, allocations: 0 / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9662, allocations: 4 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.9664, allocations: 167.3 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.9664, allocations: 85.11 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.9665, allocations: 7.984 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.9665, allocations: 4 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.9666, allocations: 0 / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.9666, allocations: 3.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.9666, allocations: 83.45 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9667, allocations: 0 / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002101/0.9669, allocations: 4 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001374/0.967, allocations: 105.1 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.9672, allocations: 43.89 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9673, allocations: 0 / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.9673, allocations: 15.98 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.9676, allocations: 8.062 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.9679, allocations: 117.5 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.9682, allocations: 0.6769 MB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.9682, allocations: 4 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.9682, allocations: 7.438 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.9682, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.00237/0.9706, allocations: 448.8 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches