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.001654/0.001654, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002311/0.002311, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.278/2.278, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6564, allocations: 140.3 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002479/0.6589, allocations: 1.303 MB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.6607, allocations: 1.259 MB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.6607, allocations: 1.375 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.6608, allocations: 0 / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.6614, allocations: 163.9 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.6616, allocations: 29.2 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.6616, allocations: 11.62 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.6617, allocations: 6.438 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.6617, allocations: 9.297 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4293/1.091, allocations: 28.17 MB / 0.9791 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/1.091, allocations: 0 / 0.9791 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/1.091, allocations: 4 kB / 0.9791 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/1.091, allocations: 3.984 kB / 0.9792 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/1.091, allocations: 7.984 kB / 0.9792 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.156e-05/1.091, allocations: 4 kB / 0.9792 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.091, allocations: 0 / 0.9792 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.22e-07/1.091, allocations: 7.938 kB / 0.9792 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.091, allocations: 0 / 0.9792 GB, free: 5.613 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.000279/1.092, allocations: 327.5 kB / 0.9795 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.092, allocations: 8.031 kB / 0.9795 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/1.092, allocations: 76.22 kB / 0.9796 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.092, allocations: 247.6 kB / 0.9798 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/1.092, allocations: 154.9 kB / 0.9799 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/1.092, allocations: 154.9 kB / 0.9801 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.858e-05/1.092, allocations: 105.1 kB / 0.9802 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.092, allocations: 75.28 kB / 0.9803 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/1.092, allocations: 154.5 kB / 0.9804 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/1.092, allocations: 154.6 kB / 0.9806 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/1.092, allocations: 150.6 kB / 0.9807 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/1.092, allocations: 449.9 kB / 0.9811 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/1.092, allocations: 165.1 kB / 0.9813 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/1.092, allocations: 84.14 kB / 0.9814 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/1.093, allocations: 79.22 kB / 0.9814 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.093, allocations: 117.8 kB / 0.9816 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.093, allocations: 0 / 0.9816 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.273e-05/1.093, allocations: 29.7 kB / 0.9816 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/1.093, allocations: 203.8 kB / 0.9818 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/1.093, allocations: 97.84 kB / 0.9819 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/1.093, allocations: 25.7 kB / 0.9819 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/1.093, allocations: 84.14 kB / 0.982 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/1.093, allocations: 4 kB / 0.982 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/1.093, allocations: 13.72 kB / 0.982 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/1.093, allocations: 314.8 kB / 0.9823 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/1.093, allocations: 0 / 0.9823 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/1.093, allocations: 26.52 kB / 0.9823 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/1.093, allocations: 75.28 kB / 0.9824 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/1.093, allocations: 79.28 kB / 0.9825 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.771e-05/1.093, allocations: 33.64 kB / 0.9825 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/1.093, allocations: 83.28 kB / 0.9826 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.093, allocations: 79.22 kB / 0.9827 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.727e-05/1.093, allocations: 158.6 kB / 0.9828 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/1.093, allocations: 75.28 kB / 0.9829 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-05/1.093, allocations: 158.5 kB / 0.983 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.094, allocations: 83.28 kB / 0.9831 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/1.094, allocations: 87.16 kB / 0.9832 GB, free: 1.223 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.0001054/1.094, allocations: 256.4 kB / 0.9834 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/1.094, allocations: 112.9 kB / 0.9835 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/1.094, allocations: 107.9 kB / 0.9837 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.812e-05/1.094, allocations: 192.1 kB / 0.9838 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.432e-05/1.094, allocations: 180.3 kB / 0.984 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/1.094, allocations: 180.2 kB / 0.9842 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.094, allocations: 397.2 kB / 0.9846 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.094, allocations: 113 kB / 0.9847 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/1.094, allocations: 112.8 kB / 0.9848 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.033e-05/1.094, allocations: 180.3 kB / 0.9849 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/1.094, allocations: 180.2 kB / 0.9851 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/1.095, allocations: 180.3 kB / 0.9853 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.507e-05/1.095, allocations: 180.3 kB / 0.9855 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/1.095, allocations: 315.7 kB / 0.9858 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/1.095, allocations: 186.6 kB / 0.9859 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/1.095, allocations: 180.3 kB / 0.9861 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.095, allocations: 109 kB / 0.9862 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/1.095, allocations: 188.2 kB / 0.9864 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.095, allocations: 105 kB / 0.9865 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.1e-05/1.095, allocations: 83.28 kB / 0.9866 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.095, allocations: 0 / 0.9866 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002557/1.095, allocations: 0 / 0.9866 GB, free: 13.54 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.0001231/1.096, allocations: 182.5 kB / 0.9867 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.4e-05/1.096, allocations: 7.938 kB / 0.9868 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.096, allocations: 0 / 0.9868 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/1.096, allocations: 4 kB / 0.9868 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/1.096, allocations: 0.5224 MB / 0.9873 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/1.096, allocations: 166.5 kB / 0.9874 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/1.097, allocations: 0.6731 MB / 0.9881 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.472e-05/1.097, allocations: 8 kB / 0.9881 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-06/1.097, allocations: 7.438 kB / 0.9881 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/1.097, allocations: 0 / 0.9881 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.00239/1.099, allocations: 485.5 kB / 0.9886 GB, free: 11.43 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/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