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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001425/0.001425, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 198.4 kB / 16.79 MB, free: 6.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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7479, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00281/0.7508, allocations: 1.292 MB / 0.9508 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.7529, allocations: 1.252 MB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.7529, allocations: 0 / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.7529, allocations: 7.922 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008224/0.7538, allocations: 161.2 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.7539, allocations: 28.94 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.754, allocations: 16.3 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.754, allocations: 5.531 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.7541, allocations: 9.203 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4254/1.179, allocations: 28.17 MB / 0.9798 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/1.18, allocations: 0 / 0.9798 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/1.18, allocations: 4 kB / 0.9798 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/1.18, allocations: 7.922 kB / 0.9798 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/1.18, allocations: 7.984 kB / 0.9798 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.69e-05/1.18, allocations: 0 / 0.9798 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.18, allocations: 8 kB / 0.9798 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.31e-07/1.18, allocations: 0 / 0.9798 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.18, allocations: 4 kB / 0.9798 GB, free: 5.578 MB / 0.7325 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.0003394/1.18, allocations: 315.5 kB / 0.9801 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.18, allocations: 12.03 kB / 0.9801 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/1.18, allocations: 76.22 kB / 0.9802 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/1.18, allocations: 243.7 kB / 0.9804 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/1.18, allocations: 154.9 kB / 0.9806 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/1.18, allocations: 154.9 kB / 0.9807 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/1.18, allocations: 105.1 kB / 0.9808 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.181, allocations: 79.22 kB / 0.9809 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/1.181, allocations: 150.6 kB / 0.9811 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/1.181, allocations: 150.6 kB / 0.9812 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/1.181, allocations: 154.6 kB / 0.9814 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/1.181, allocations: 449.9 kB / 0.9818 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/1.181, allocations: 169.1 kB / 0.9819 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/1.181, allocations: 88.02 kB / 0.982 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.181, allocations: 79.28 kB / 0.9821 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/1.181, allocations: 121.8 kB / 0.9822 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/1.181, allocations: 0 / 0.9822 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.909e-05/1.181, allocations: 29.64 kB / 0.9822 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/1.181, allocations: 203.8 kB / 0.9824 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.182, allocations: 101.8 kB / 0.9825 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.182, allocations: 29.7 kB / 0.9826 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/1.182, allocations: 84.14 kB / 0.9826 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/1.182, allocations: 0 / 0.9826 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/1.182, allocations: 13.72 kB / 0.9827 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.182, allocations: 310.8 kB / 0.983 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/1.182, allocations: 3.938 kB / 0.983 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/1.182, allocations: 26.56 kB / 0.983 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/1.182, allocations: 75.28 kB / 0.9831 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.182, allocations: 79.28 kB / 0.9831 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.056e-05/1.182, allocations: 33.64 kB / 0.9832 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.182, allocations: 79.28 kB / 0.9832 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.182, allocations: 79.22 kB / 0.9833 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-05/1.182, allocations: 158.6 kB / 0.9835 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/1.182, allocations: 75.28 kB / 0.9835 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/1.182, allocations: 162.5 kB / 0.9837 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.182, allocations: 83.28 kB / 0.9838 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.182, allocations: 79.22 kB / 0.9839 GB, free: 1.188 MB / 0.7325 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.000113/1.183, allocations: 260.4 kB / 0.9841 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/1.183, allocations: 104.9 kB / 0.9842 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/1.183, allocations: 115.9 kB / 0.9843 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/1.183, allocations: 188.2 kB / 0.9845 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.712e-05/1.183, allocations: 176.3 kB / 0.9847 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/1.183, allocations: 180.2 kB / 0.9848 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/1.183, allocations: 405.2 kB / 0.9852 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/1.183, allocations: 101 kB / 0.9853 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/1.183, allocations: 112.9 kB / 0.9854 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.761e-05/1.183, allocations: 184.2 kB / 0.9856 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/1.183, allocations: 180.2 kB / 0.9858 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.604e-05/1.183, allocations: 176.3 kB / 0.9859 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/1.183, allocations: 184.2 kB / 0.9861 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/1.184, allocations: 315.7 kB / 0.9864 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/1.184, allocations: 186.4 kB / 0.9866 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/1.184, allocations: 176.3 kB / 0.9868 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.184, allocations: 120.8 kB / 0.9869 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/1.184, allocations: 176.3 kB / 0.987 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/1.184, allocations: 116.9 kB / 0.9872 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.305e-05/1.184, allocations: 75.28 kB / 0.9872 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.184, allocations: 0 / 0.9872 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002615/1.184, allocations: 4 kB / 0.9872 GB, free: 13.5 MB / 0.7481 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.000151/1.184, allocations: 178.5 kB / 0.9874 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.18e-05/1.185, allocations: 11.98 kB / 0.9874 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.185, allocations: 0 / 0.9874 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/1.185, allocations: 4 kB / 0.9874 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/1.185, allocations: 0.524 MB / 0.9879 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/1.185, allocations: 184.3 kB / 0.9881 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/1.185, allocations: 0.677 MB / 0.9888 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/1.185, allocations: 11.44 kB / 0.9888 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/1.185, allocations: 0 / 0.9888 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.00191/1.187, allocations: 463.9 kB / 0.9892 GB, free: 11.39 MB / 0.7481 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/jenkins1/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