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.006058/0.006059, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001426/0.001426, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 461.8 MB / 0.7348 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.14 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002882/0.3215, allocations: 1.286 MB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3236, allocations: 1.253 MB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.3237, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.3237, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.3243, allocations: 163.6 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.952e-05/0.3244, allocations: 34.2 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.301e-05/0.3245, allocations: 11.94 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.3245, allocations: 7.922 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.3246, allocations: 11.98 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4253/0.7498, allocations: 28.17 MB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.7499, allocations: 0 / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.7499, allocations: 0 / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.7499, allocations: 4 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.75, allocations: 3.938 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.801e-05/0.75, allocations: 11.97 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.75, allocations: 4 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.32e-07/0.75, allocations: 0 / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.7501, allocations: 0 / 1.083 GB, free: 12.48 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.0003286/0.7504, allocations: 323.5 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7504, allocations: 8.031 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.7505, allocations: 84.22 kB / 1.083 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.7507, allocations: 239.6 kB / 1.084 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.7507, allocations: 150.9 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.7508, allocations: 162.9 kB / 1.084 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.284e-05/0.7509, allocations: 105.1 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.7509, allocations: 79.28 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.751, allocations: 150.6 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.751, allocations: 150.6 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.7511, allocations: 158.6 kB / 1.085 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.7514, allocations: 449.9 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.7515, allocations: 169.1 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.7515, allocations: 80.14 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.7518, allocations: 79.28 kB / 1.085 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.7519, allocations: 109.8 kB / 1.085 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.7519, allocations: 0 / 1.085 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.317e-05/0.752, allocations: 41.62 kB / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/0.7521, allocations: 203.8 kB / 1.086 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7522, allocations: 97.84 kB / 1.086 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7522, allocations: 25.7 kB / 1.086 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.7523, allocations: 92.14 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.7523, allocations: 0 / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.7523, allocations: 17.7 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7524, allocations: 310.8 kB / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.7524, allocations: 0 / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.7525, allocations: 18.58 kB / 1.086 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.7525, allocations: 79.28 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.7525, allocations: 79.28 kB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.555e-05/0.7526, allocations: 45.47 kB / 1.086 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7527, allocations: 87.16 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.7527, allocations: 75.28 kB / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.453e-05/0.7528, allocations: 150.6 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/0.7528, allocations: 83.22 kB / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.796e-05/0.7529, allocations: 150.6 kB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.753, allocations: 91.2 kB / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.7531, allocations: 79.28 kB / 1.087 GB, free: 8.074 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.0001209/0.7532, allocations: 260.9 kB / 1.087 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.7533, allocations: 104.9 kB / 1.087 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.7533, allocations: 108 kB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-05/0.7534, allocations: 184.3 kB / 1.088 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.987e-05/0.7535, allocations: 188.2 kB / 1.088 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.07e-05/0.7535, allocations: 180.3 kB / 1.088 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.7537, allocations: 401.2 kB / 1.088 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.7538, allocations: 104.9 kB / 1.088 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.7538, allocations: 112.9 kB / 1.089 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.256e-05/0.7539, allocations: 180.2 kB / 1.089 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.754, allocations: 180.3 kB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-05/0.754, allocations: 180.6 kB / 1.089 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.385e-05/0.7541, allocations: 184.2 kB / 1.089 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.7542, allocations: 311.8 kB / 1.09 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.7543, allocations: 190 kB / 1.09 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.7544, allocations: 180.2 kB / 1.09 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7546, allocations: 105 kB / 1.09 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.7546, allocations: 180.3 kB / 1.09 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.7547, allocations: 108.9 kB / 1.09 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.7547, allocations: 83.27 kB / 1.09 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7547, allocations: 0 / 1.09 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002558/0.755, allocations: 4 kB / 1.09 GB, free: 4.398 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.0001374/0.7551, allocations: 174.5 kB / 1.091 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.612e-05/0.7552, allocations: 4 kB / 1.091 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7552, allocations: 0 / 1.091 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7552, allocations: 4 kB / 1.091 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.7556, allocations: 0.534 MB / 1.091 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.7559, allocations: 192.2 kB / 1.091 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.7561, allocations: 0.6692 MB / 1.092 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.7561, allocations: 11.44 kB / 1.092 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.7561, allocations: 4 kB / 1.092 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of Templates: time 0.001637/0.7578, allocations: 463.5 kB / 1.092 GB, free: 2.285 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches