Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001975/0.001975, allocations: 198.3 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.25 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3486, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002582/0.3512, allocations: 1.29 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3533, allocations: 1.262 MB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.3534, allocations: 0 / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.3534, allocations: 0 / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.3541, allocations: 159.6 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.3542, allocations: 35.94 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.3543, allocations: 11.94 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3543, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.3543, allocations: 11.92 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4224/0.7768, allocations: 28.19 MB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.7768, allocations: 0 / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.7768, allocations: 0 / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.7769, allocations: 0 / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.7769, allocations: 4 kB / 1.082 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.777, allocations: 15.91 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.777, allocations: 0 / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.62e-07/0.777, allocations: 0 / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.777, allocations: 0 / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002984/0.7773, allocations: 323.5 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.7774, allocations: 12.03 kB / 1.083 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.7774, allocations: 80.22 kB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7776, allocations: 243.5 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.7776, allocations: 150.9 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.7777, allocations: 150.9 kB / 1.083 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.7778, allocations: 109.1 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.7778, allocations: 79.28 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.7779, allocations: 154.6 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.7779, allocations: 150.6 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.778, allocations: 150.6 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.7782, allocations: 449.9 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.7783, allocations: 177.2 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.7784, allocations: 80.14 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.7784, allocations: 79.27 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.7785, allocations: 109.8 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7785, allocations: 0 / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.049e-05/0.7786, allocations: 45.62 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7787, allocations: 203.8 kB / 1.085 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7788, allocations: 93.86 kB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7788, allocations: 25.7 kB / 1.085 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.7788, allocations: 84.14 kB / 1.085 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.7789, allocations: 4 kB / 1.085 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.7789, allocations: 13.7 kB / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.779, allocations: 322.8 kB / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.779, allocations: 0 / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.7791, allocations: 14.58 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.7791, allocations: 79.28 kB / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.7791, allocations: 79.28 kB / 1.086 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.011e-05/0.7792, allocations: 45.47 kB / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.7792, allocations: 79.28 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.7793, allocations: 83.22 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.041e-05/0.7794, allocations: 154.5 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.7794, allocations: 83.28 kB / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/0.7794, allocations: 150.6 kB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.7796, allocations: 83.22 kB / 1.086 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.7796, allocations: 79.27 kB / 1.086 GB, free: 8.398 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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 0.0001439/0.7798, allocations: 265.9 kB / 1.087 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.7799, allocations: 112.9 kB / 1.087 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.7799, allocations: 104.1 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.721e-05/0.78, allocations: 180.3 kB / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-05/0.7801, allocations: 188.2 kB / 1.087 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/0.7802, allocations: 180.3 kB / 1.087 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.7804, allocations: 409.2 kB / 1.088 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.7804, allocations: 101.2 kB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.7805, allocations: 108.9 kB / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.374e-05/0.7805, allocations: 184.2 kB / 1.088 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.7806, allocations: 180.3 kB / 1.088 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-05/0.7807, allocations: 184.2 kB / 1.088 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/0.7807, allocations: 180.2 kB / 1.089 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7809, allocations: 303.8 kB / 1.089 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.781, allocations: 186 kB / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.781, allocations: 188.2 kB / 1.089 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.7812, allocations: 105 kB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.7812, allocations: 180.3 kB / 1.09 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.7813, allocations: 104.9 kB / 1.09 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.7813, allocations: 83.27 kB / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7813, allocations: 0 / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002551/0.7816, allocations: 4 kB / 1.09 GB, free: 4.723 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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.0005596/0.7822, allocations: 174.5 kB / 1.09 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.026e-05/0.7822, allocations: 3.938 kB / 1.09 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7822, allocations: 0 / 1.09 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.7822, allocations: 0 / 1.09 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.7826, allocations: 0.534 MB / 1.09 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.7829, allocations: 166.6 kB / 1.091 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.7831, allocations: 0.6693 MB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.7831, allocations: 4 kB / 1.091 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-06/0.7832, allocations: 7.438 kB / 1.091 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.7832, allocations: 0 / 1.091 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.002353/0.7855, allocations: 488.5 kB / 1.092 GB, free: 2.621 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches