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.001163/0.001163, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001139/0.001139, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.261/2.261, allocations: 390.2 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.00173, allocations: 64.73 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3765, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002798/0.3794, allocations: 1.212 MB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3816, allocations: 1.255 MB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3816, allocations: 0 / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.3817, allocations: 0 / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.3826, allocations: 215.2 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3827, allocations: 35.89 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.3827, allocations: 8 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.3828, allocations: 4 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.3828, allocations: 11.98 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1843/0.5671, allocations: 30.64 MB / 0.9829 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.5671, allocations: 0 / 0.9829 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.5672, allocations: 0 / 0.9829 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.5672, allocations: 7.984 kB / 0.9829 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.5672, allocations: 7.828 kB / 0.9829 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.5673, allocations: 8 kB / 0.9829 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5673, allocations: 0 / 0.9829 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5674, allocations: 4 kB / 0.9829 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5674, allocations: 0 / 0.9829 GB, free: 10.31 MB / 0.7637 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.0003548/0.5677, allocations: 315.5 kB / 0.9832 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5678, allocations: 16.03 kB / 0.9832 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.5679, allocations: 76.22 kB / 0.9833 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.568, allocations: 251.5 kB / 0.9835 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.5681, allocations: 150.9 kB / 0.9837 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.5682, allocations: 154.9 kB / 0.9838 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/0.5683, allocations: 105.1 kB / 0.9839 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.5683, allocations: 79.28 kB / 0.984 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.5684, allocations: 150.6 kB / 0.9841 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.5684, allocations: 154.5 kB / 0.9843 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.5685, allocations: 150.6 kB / 0.9844 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.5688, allocations: 449.9 kB / 0.9849 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.5689, allocations: 169.1 kB / 0.985 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.569, allocations: 80.14 kB / 0.9851 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.569, allocations: 79.33 kB / 0.9852 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.5691, allocations: 121.7 kB / 0.9853 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5691, allocations: 3.938 kB / 0.9853 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.655e-05/0.5692, allocations: 33.7 kB / 0.9853 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5693, allocations: 203.8 kB / 0.9855 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5694, allocations: 101.8 kB / 0.9856 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5694, allocations: 29.7 kB / 0.9857 GB, free: 7.273 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.5695, allocations: 80.14 kB / 0.9857 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.5695, allocations: 0 / 0.9857 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.5695, allocations: 13.72 kB / 0.9857 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5697, allocations: 322.8 kB / 0.9861 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-06/0.5697, allocations: 0 / 0.9861 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.5697, allocations: 22.52 kB / 0.9861 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.5698, allocations: 75.28 kB / 0.9861 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/0.5698, allocations: 75.28 kB / 0.9862 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.329e-05/0.5699, allocations: 33.64 kB / 0.9862 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.5699, allocations: 79.28 kB / 0.9863 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/0.5699, allocations: 83.28 kB / 0.9864 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.595e-05/0.57, allocations: 158.5 kB / 0.9866 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.5701, allocations: 75.28 kB / 0.9866 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.295e-05/0.5701, allocations: 158.5 kB / 0.9868 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5703, allocations: 79.28 kB / 0.9869 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5703, allocations: 79.28 kB / 0.9869 GB, free: 5.926 MB / 0.7637 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.0001322/0.5705, allocations: 268.3 kB / 0.9872 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.5706, allocations: 112.8 kB / 0.9873 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.5706, allocations: 119.8 kB / 0.9874 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.5707, allocations: 180.2 kB / 0.9876 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-05/0.5708, allocations: 176.5 kB / 0.9877 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.824e-05/0.5709, allocations: 184.2 kB / 0.9879 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.5711, allocations: 405.2 kB / 0.9883 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.5712, allocations: 109 kB / 0.9884 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.5712, allocations: 116.8 kB / 0.9885 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.542e-05/0.5713, allocations: 176.3 kB / 0.9887 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.5714, allocations: 180.2 kB / 0.9889 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.667e-05/0.5715, allocations: 180.3 kB / 0.989 GB, free: 3.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.644e-05/0.5715, allocations: 180.3 kB / 0.9892 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.5717, allocations: 307.8 kB / 0.9895 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.5718, allocations: 186 kB / 0.9897 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.5719, allocations: 184.3 kB / 0.9899 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5721, allocations: 109 kB / 0.99 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.5721, allocations: 180.2 kB / 0.9901 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5722, allocations: 105 kB / 0.9902 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.5722, allocations: 75.28 kB / 0.9903 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/0.5722, allocations: 0 / 0.9903 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002819/0.5725, allocations: 7.938 kB / 0.9903 GB, free: 2.234 MB / 0.7637 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.0001495/0.5727, allocations: 182.5 kB / 0.9905 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.5727, allocations: 7.938 kB / 0.9905 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5728, allocations: 0 / 0.9905 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.5728, allocations: 0 / 0.9905 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.5732, allocations: 455.7 kB / 0.9909 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.5735, allocations: 198.5 kB / 0.9911 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5738, allocations: 0.6766 MB / 0.9918 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.5738, allocations: 7.438 kB / 0.9918 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/0.5738, allocations: 0 / 0.9918 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Templates: time 0.004713/0.5785, allocations: 476 kB / 0.9922 GB, free: 192 kB / 0.7637 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