Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001318/0.001318, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6998, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00293/0.7028, allocations: 1.295 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.705, allocations: 1.255 MB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.7051, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.7051, allocations: 3.938 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007502/0.7059, allocations: 155.6 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.706, allocations: 43.39 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.7061, allocations: 11.98 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.7061, allocations: 11.98 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.7061, allocations: 7.938 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4383/1.144, allocations: 28.17 MB / 1.047 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/1.145, allocations: 0 / 1.047 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/1.145, allocations: 4 kB / 1.047 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/1.145, allocations: 0 / 1.047 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/1.145, allocations: 4 kB / 1.047 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.119e-05/1.145, allocations: 23.86 kB / 1.047 GB, free: 7.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.145, allocations: 0 / 1.047 GB, free: 7.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.174e-06/1.145, allocations: 0 / 1.047 GB, free: 7.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.145, allocations: 0 / 1.047 GB, free: 7.16 MB / 0.795 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.0003461/1.145, allocations: 319.5 kB / 1.047 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.145, allocations: 8.031 kB / 1.047 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/1.145, allocations: 80.22 kB / 1.047 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.145, allocations: 239.7 kB / 1.047 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/1.145, allocations: 154.9 kB / 1.048 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/1.146, allocations: 150.9 kB / 1.048 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/1.146, allocations: 109.1 kB / 1.048 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/1.146, allocations: 79.22 kB / 1.048 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/1.146, allocations: 154.6 kB / 1.048 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/1.146, allocations: 150.6 kB / 1.048 GB, free: 5.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/1.146, allocations: 162.5 kB / 1.048 GB, free: 5.488 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/1.146, allocations: 442 kB / 1.049 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/1.146, allocations: 169.1 kB / 1.049 GB, free: 4.832 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/1.146, allocations: 88.14 kB / 1.049 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/1.146, allocations: 83.27 kB / 1.049 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/1.146, allocations: 113.7 kB / 1.049 GB, free: 4.539 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/1.147, allocations: 0 / 1.049 GB, free: 4.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.413e-05/1.147, allocations: 25.7 kB / 1.049 GB, free: 4.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.147, allocations: 207.8 kB / 1.049 GB, free: 4.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.147, allocations: 101.8 kB / 1.05 GB, free: 4.164 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.147, allocations: 33.69 kB / 1.05 GB, free: 4.125 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/1.147, allocations: 80.14 kB / 1.05 GB, free: 4.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/1.147, allocations: 0 / 1.05 GB, free: 4.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/1.147, allocations: 13.72 kB / 1.05 GB, free: 4.023 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.147, allocations: 314.8 kB / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/1.147, allocations: 0 / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/1.147, allocations: 22.52 kB / 1.05 GB, free: 3.676 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/1.147, allocations: 83.27 kB / 1.05 GB, free: 3.594 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/1.147, allocations: 79.28 kB / 1.05 GB, free: 3.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.104e-05/1.147, allocations: 37.48 kB / 1.05 GB, free: 3.473 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/1.147, allocations: 83.28 kB / 1.05 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/1.147, allocations: 75.33 kB / 1.05 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.122e-05/1.147, allocations: 158.5 kB / 1.051 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.509e-05/1.147, allocations: 75.28 kB / 1.051 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.376e-05/1.148, allocations: 166.5 kB / 1.051 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/1.148, allocations: 79.27 kB / 1.051 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/1.148, allocations: 75.28 kB / 1.051 GB, free: 2.77 MB / 0.795 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.0001421/1.148, allocations: 260.4 kB / 1.051 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/1.148, allocations: 112.9 kB / 1.051 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/1.148, allocations: 116.1 kB / 1.051 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-05/1.148, allocations: 180.2 kB / 1.052 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/1.148, allocations: 176.3 kB / 1.052 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-05/1.148, allocations: 180.3 kB / 1.052 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/1.149, allocations: 405.2 kB / 1.052 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/1.149, allocations: 105 kB / 1.052 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/1.149, allocations: 112.9 kB / 1.052 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/1.149, allocations: 176.3 kB / 1.053 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/1.149, allocations: 180.2 kB / 1.053 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.088e-05/1.149, allocations: 184.2 kB / 1.053 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.293e-05/1.149, allocations: 188.2 kB / 1.053 GB, free: 304 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/1.149, allocations: 303.8 kB / 1.053 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/1.149, allocations: 190 kB / 1.054 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.849e-05/1.149, allocations: 184.7 kB / 1.054 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.149, allocations: 105 kB / 1.054 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.269e-05/1.15, allocations: 192.2 kB / 1.054 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/1.15, allocations: 105 kB / 1.054 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.078e-05/1.15, allocations: 75.28 kB / 1.054 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 4 kB / 1.054 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002791/1.15, allocations: 0 / 1.054 GB, free: 15.09 MB / 0.8106 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.0001464/1.15, allocations: 178.5 kB / 1.054 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.278e-05/1.15, allocations: 3.938 kB / 1.054 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.15, allocations: 4 kB / 1.054 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/1.15, allocations: 4 kB / 1.054 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/1.151, allocations: 0.5224 MB / 1.055 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/1.151, allocations: 170.5 kB / 1.055 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.151, allocations: 0.6692 MB / 1.056 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.853e-05/1.151, allocations: 12.36 kB / 1.056 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-06/1.151, allocations: 7.438 kB / 1.056 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/1.151, allocations: 0 / 1.056 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.002927/1.154, allocations: 481.7 kB / 1.056 GB, free: 12.98 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches