Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 183.3 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.885/1.885, allocations: 223.2 MB / 0.7949 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 106.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003861, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.5502, allocations: 151.4 MB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.5506, allocations: 91.94 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07296/0.6236, allocations: 40.26 MB / 1.41 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6236, allocations: 0 / 1.41 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.6237, allocations: 4 kB / 1.41 GB, free: 2.254 MB / 0.9011 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.0005872/0.6243, allocations: 391.9 kB / 1.41 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6243, allocations: 8.031 kB / 1.41 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.6244, allocations: 83.22 kB / 1.411 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.6246, allocations: 246.3 kB / 1.411 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.6247, allocations: 150.6 kB / 1.411 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.6248, allocations: 158.6 kB / 1.411 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.6249, allocations: 101 kB / 1.411 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.6249, allocations: 75.28 kB / 1.411 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.625, allocations: 150.6 kB / 1.411 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.625, allocations: 154.6 kB / 1.412 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.6251, allocations: 154.5 kB / 1.412 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.6255, allocations: 453.9 kB / 1.412 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6256, allocations: 173.1 kB / 1.412 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.6257, allocations: 75.28 kB / 1.412 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/0.6258, allocations: 109.8 kB / 1.412 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.6258, allocations: 4 kB / 1.412 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 9.252e-05/0.6259, allocations: 29.64 kB / 1.412 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.626, allocations: 211.7 kB / 1.413 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6261, allocations: 92.98 kB / 1.413 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6261, allocations: 25.7 kB / 1.413 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.6262, allocations: 84.14 kB / 1.413 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.6262, allocations: 0 / 1.413 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.6262, allocations: 0 / 1.413 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6264, allocations: 314.8 kB / 1.413 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.6264, allocations: 0 / 1.413 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.6264, allocations: 18.58 kB / 1.413 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.6265, allocations: 83.22 kB / 1.413 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-05/0.6265, allocations: 79.28 kB / 1.413 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.339e-05/0.6266, allocations: 29.64 kB / 1.413 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.6266, allocations: 91.22 kB / 1.413 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/0.6267, allocations: 79.28 kB / 1.414 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-05/0.6268, allocations: 154.5 kB / 1.414 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.6268, allocations: 75.28 kB / 1.414 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.29e-05/0.6269, allocations: 158.5 kB / 1.414 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.627, allocations: 83.31 kB / 1.414 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.6271, allocations: 79.28 kB / 1.414 GB, free: 13.91 MB / 0.9167 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.0001524/0.6272, allocations: 268.4 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.6273, allocations: 108.9 kB / 1.414 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.6274, allocations: 107.9 kB / 1.415 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.989e-05/0.6275, allocations: 184.2 kB / 1.415 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.406e-05/0.6276, allocations: 180.3 kB / 1.415 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-05/0.6276, allocations: 184.3 kB / 1.415 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.6279, allocations: 401.2 kB / 1.415 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/0.628, allocations: 109.8 kB / 1.416 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.628, allocations: 104.9 kB / 1.416 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.6281, allocations: 180.3 kB / 1.416 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.6282, allocations: 184.2 kB / 1.416 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.039e-05/0.6283, allocations: 184.2 kB / 1.416 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.662e-05/0.6284, allocations: 176.3 kB / 1.416 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.6286, allocations: 304.1 kB / 1.417 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.6287, allocations: 194 kB / 1.417 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.6288, allocations: 188.2 kB / 1.417 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6289, allocations: 101 kB / 1.417 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.629, allocations: 188.2 kB / 1.417 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.6291, allocations: 105 kB / 1.417 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.6291, allocations: 75.28 kB / 1.417 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6291, allocations: 4 kB / 1.417 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003113/0.6294, allocations: 8 kB / 1.417 GB, free: 10.22 MB / 0.9167 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.0001835/0.6296, allocations: 174.3 kB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.927e-05/0.6297, allocations: 3.938 kB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6297, allocations: 4 kB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.6297, allocations: 3.938 kB / 1.418 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.6301, allocations: 0.5263 MB / 1.418 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.6304, allocations: 167.9 kB / 1.418 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.6307, allocations: 0.6731 MB / 1.419 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.6308, allocations: 7.984 kB / 1.419 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.6308, allocations: 7.438 kB / 1.419 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.6308, allocations: 4 kB / 1.419 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of Templates: time 0.002593/0.6334, allocations: 460.6 kB / 1.419 GB, free: 8.145 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches