Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.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.001102/0.001102, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009819/0.0009822, allocations: 177.3 kB / 15.94 MB, free: 228 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9491/0.9495, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001364/0.9509, allocations: 0.9449 MB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.9528, allocations: 1.179 MB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.9528, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.9528, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.9535, allocations: 159.5 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.9536, allocations: 34.7 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.9536, allocations: 7.984 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.9537, allocations: 3.984 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.9537, allocations: 11.98 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.9642, allocations: 7.871 MB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.9642, allocations: 0 / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.9643, allocations: 0 / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.9643, allocations: 4 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.9643, allocations: 29.7 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.999e-05/0.9644, allocations: 0 / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9644, allocations: 0 / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9644, allocations: 0 / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.9644, allocations: 4 kB / 1.031 GB, free: 6.805 MB / 0.7794 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.0002875/0.9647, allocations: 317 kB / 1.031 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9647, allocations: 16.05 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.9648, allocations: 75.28 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.965, allocations: 240.3 kB / 1.031 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.965, allocations: 158.5 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.9651, allocations: 150.6 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.9652, allocations: 108.9 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.9652, allocations: 75.28 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.9653, allocations: 158.5 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.9654, allocations: 154.6 kB / 1.032 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.892e-05/0.9654, allocations: 150.6 kB / 1.032 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.9657, allocations: 446 kB / 1.033 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.9658, allocations: 173.1 kB / 1.033 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.9659, allocations: 79.28 kB / 1.033 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.9659, allocations: 109.8 kB / 1.033 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.9659, allocations: 0 / 1.033 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.528e-05/0.966, allocations: 29.66 kB / 1.033 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.9661, allocations: 207.8 kB / 1.033 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.9662, allocations: 97.84 kB / 1.033 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.9663, allocations: 25.7 kB / 1.033 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.9663, allocations: 88.14 kB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.9663, allocations: 0 / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.9663, allocations: 3.938 kB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9664, allocations: 314.8 kB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.9664, allocations: 3.938 kB / 1.034 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.9665, allocations: 18.58 kB / 1.034 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.9665, allocations: 79.28 kB / 1.034 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/0.9665, allocations: 75.28 kB / 1.034 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.011e-05/0.9666, allocations: 37.73 kB / 1.034 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.9667, allocations: 81.47 kB / 1.034 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.9667, allocations: 87.22 kB / 1.034 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.42e-05/0.9668, allocations: 154.5 kB / 1.034 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.9668, allocations: 79.22 kB / 1.034 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.599e-05/0.9669, allocations: 158.6 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.967, allocations: 83.27 kB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.9671, allocations: 79.22 kB / 1.035 GB, free: 2.523 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.9672, allocations: 260.4 kB / 1.035 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.9673, allocations: 101 kB / 1.035 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.9673, allocations: 120 kB / 1.035 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.726e-05/0.9674, allocations: 180.2 kB / 1.035 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.756e-05/0.9675, allocations: 180.2 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/0.9675, allocations: 184.2 kB / 1.036 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.9678, allocations: 405.2 kB / 1.036 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/0.9678, allocations: 104.9 kB / 1.036 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.9679, allocations: 112.9 kB / 1.036 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-05/0.9679, allocations: 176.5 kB / 1.036 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.968, allocations: 180.2 kB / 1.037 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-05/0.9681, allocations: 184.2 kB / 1.037 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.172e-05/0.9682, allocations: 192.2 kB / 1.037 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.9683, allocations: 308.1 kB / 1.037 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.9684, allocations: 182.1 kB / 1.037 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.9685, allocations: 180.3 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.9686, allocations: 109 kB / 1.038 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.9687, allocations: 184.3 kB / 1.038 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.9688, allocations: 112.9 kB / 1.038 GB, free: 14.92 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.9688, allocations: 79.27 kB / 1.038 GB, free: 14.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9688, allocations: 0 / 1.038 GB, free: 14.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002489/0.9691, allocations: 4 kB / 1.038 GB, free: 14.84 MB / 0.795 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 (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.0001517/0.9692, allocations: 174.5 kB / 1.038 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.465e-05/0.9693, allocations: 4 kB / 1.038 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9693, allocations: 4 kB / 1.038 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.9693, allocations: 0 / 1.038 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.9696, allocations: 0.5224 MB / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.9699, allocations: 171.9 kB / 1.039 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.9702, allocations: 0.677 MB / 1.04 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.9702, allocations: 3.938 kB / 1.04 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.9702, allocations: 11.44 kB / 1.04 GB, free: 13.2 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.9702, allocations: 0 / 1.04 GB, free: 13.2 MB / 0.795 GB Notification: Performance of Templates: time 0.002484/0.9727, allocations: 452.3 kB / 1.04 GB, free: 12.77 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches