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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008185/0.008185, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001962/0.001962, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7165, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001919/0.7185, allocations: 1.239 MB / 1.089 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.7201, allocations: 1.249 MB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.7201, allocations: 1 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.7201, allocations: 0 / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.7208, allocations: 208.8 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.437e-05/0.7209, allocations: 32.22 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.7209, allocations: 14.34 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.721, allocations: 9.891 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.721, allocations: 10.3 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1951/0.9161, allocations: 30.9 MB / 1.121 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.9161, allocations: 0 / 1.121 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.9161, allocations: 1.562 kB / 1.121 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.9162, allocations: 0.5625 kB / 1.121 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.9162, allocations: 11.16 kB / 1.121 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.9163, allocations: 10.81 kB / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9163, allocations: 1.156 kB / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9163, allocations: 0 / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.9163, allocations: 4 kB / 1.121 GB, free: 5.285 MB / 0.8731 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.0002717/0.9166, allocations: 318.7 kB / 1.121 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.9167, allocations: 9.219 kB / 1.121 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.9167, allocations: 82.22 kB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.9169, allocations: 237.9 kB / 1.121 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.9169, allocations: 152 kB / 1.122 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.917, allocations: 154.9 kB / 1.122 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.666e-05/0.917, allocations: 111.1 kB / 1.122 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.917, allocations: 75.28 kB / 1.122 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.9171, allocations: 152 kB / 1.122 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.9172, allocations: 151.2 kB / 1.122 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.9172, allocations: 155.9 kB / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.9175, allocations: 449.9 kB / 1.123 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.9175, allocations: 166.6 kB / 1.123 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.9176, allocations: 80.14 kB / 1.123 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.9176, allocations: 80.38 kB / 1.123 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.9177, allocations: 119.6 kB / 1.123 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 7.454e-06/0.9177, allocations: 0 / 1.123 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.23e-05/0.9177, allocations: 40.44 kB / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.9178, allocations: 204.4 kB / 1.123 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.9179, allocations: 96.56 kB / 1.124 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.9179, allocations: 25.7 kB / 1.124 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.918, allocations: 85.67 kB / 1.124 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.918, allocations: 4.812 kB / 1.124 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.918, allocations: 15.09 kB / 1.124 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.9181, allocations: 311.9 kB / 1.124 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-06/0.9182, allocations: 0 / 1.124 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.9182, allocations: 23.66 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.9182, allocations: 77.11 kB / 1.124 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.9183, allocations: 75.28 kB / 1.124 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.758e-05/0.9183, allocations: 42.16 kB / 1.124 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.9184, allocations: 79.91 kB / 1.124 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.9184, allocations: 81.11 kB / 1.124 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.334e-05/0.9185, allocations: 160.2 kB / 1.124 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.9185, allocations: 80.61 kB / 1.125 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.075e-05/0.9186, allocations: 156.2 kB / 1.125 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.9187, allocations: 83.86 kB / 1.125 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.9188, allocations: 76.03 kB / 1.125 GB, free: 0.9805 MB / 0.8731 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.0001186/0.9189, allocations: 263.4 kB / 1.125 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.919, allocations: 112.9 kB / 1.125 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.919, allocations: 106 kB / 1.125 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/0.9191, allocations: 180.9 kB / 1.125 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.793e-05/0.9192, allocations: 183 kB / 1.126 GB, free: 128 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/0.9192, allocations: 180.9 kB / 1.126 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.9195, allocations: 404 kB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/0.9195, allocations: 102.5 kB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.9195, allocations: 109.5 kB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.9196, allocations: 186 kB / 1.127 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.9197, allocations: 178 kB / 1.127 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.885e-05/0.9197, allocations: 182.5 kB / 1.127 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-05/0.9198, allocations: 182 kB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.92, allocations: 314.5 kB / 1.127 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.92, allocations: 188.3 kB / 1.128 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.9201, allocations: 178 kB / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.9203, allocations: 110.9 kB / 1.128 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.9203, allocations: 184.9 kB / 1.128 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.9204, allocations: 103.1 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.9204, allocations: 86.06 kB / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.9204, allocations: 0 / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002632/0.9207, allocations: 4.844 kB / 1.128 GB, free: 13.35 MB / 0.8887 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.0001142/0.9208, allocations: 171.9 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.355e-05/0.9208, allocations: 7.188 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9209, allocations: 0 / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.9209, allocations: 0.8125 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.9212, allocations: 463.7 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.9214, allocations: 162.1 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.9216, allocations: 0.6716 MB / 1.13 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.9217, allocations: 2.469 kB / 1.13 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.9217, allocations: 12.28 kB / 1.13 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.9217, allocations: 1.125 kB / 1.13 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of Templates: time 0.003791/0.9255, allocations: 0.5012 MB / 1.13 GB, free: 11.76 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches