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.001123/0.001124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001177/0.001177, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.353/2.353, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 60.14 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7365, allocations: 140.4 MB / 0.9491 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002714/0.7393, allocations: 1.287 MB / 0.9504 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.7415, allocations: 1.236 MB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.7415, allocations: 0 / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.7415, allocations: 0 / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.7423, allocations: 181.3 kB / 0.9517 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.7425, allocations: 40.05 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.7425, allocations: 11.66 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.7425, allocations: 1.219 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.7426, allocations: 9.547 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4369/1.18, allocations: 30.64 MB / 0.9817 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/1.18, allocations: 0 / 0.9817 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/1.18, allocations: 7.938 kB / 0.9817 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/1.18, allocations: 3.938 kB / 0.9817 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/1.18, allocations: 11.98 kB / 0.9817 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.403e-05/1.18, allocations: 7.984 kB / 0.9818 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.18, allocations: 0 / 0.9818 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/1.18, allocations: 0 / 0.9818 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.18, allocations: 0 / 0.9818 GB, free: 3.215 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.0003533/1.18, allocations: 327.5 kB / 0.9821 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.18, allocations: 8.031 kB / 0.9821 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/1.18, allocations: 76.22 kB / 0.9821 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.18, allocations: 239.7 kB / 0.9824 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/1.181, allocations: 150.9 kB / 0.9825 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/1.181, allocations: 150.9 kB / 0.9827 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.168e-05/1.181, allocations: 113 kB / 0.9828 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/1.181, allocations: 75.28 kB / 0.9828 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/1.181, allocations: 150.6 kB / 0.983 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/1.181, allocations: 162.5 kB / 0.9831 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/1.181, allocations: 150.6 kB / 0.9833 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/1.181, allocations: 445.9 kB / 0.9837 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/1.181, allocations: 169.1 kB / 0.9839 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/1.181, allocations: 84.14 kB / 0.984 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/1.181, allocations: 79.22 kB / 0.984 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.181, allocations: 109.8 kB / 0.9841 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/1.181, allocations: 4 kB / 0.9841 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.887e-05/1.182, allocations: 29.7 kB / 0.9842 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/1.182, allocations: 207.8 kB / 0.9844 GB, free: 340 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.182, allocations: 101.8 kB / 0.9845 GB, free: 228 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.182, allocations: 25.7 kB / 0.9845 GB, free: 196 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/1.182, allocations: 80.14 kB / 0.9846 GB, free: 112 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/1.182, allocations: 0 / 0.9846 GB, free: 112 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/1.182, allocations: 21.7 kB / 0.9846 GB, free: 84 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.182, allocations: 314.8 kB / 0.9849 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/1.182, allocations: 0 / 0.9849 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/1.182, allocations: 22.52 kB / 0.9849 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/1.182, allocations: 75.28 kB / 0.985 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/1.182, allocations: 79.28 kB / 0.9851 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.268e-05/1.182, allocations: 33.58 kB / 0.9851 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/1.182, allocations: 87.27 kB / 0.9852 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.182, allocations: 79.28 kB / 0.9852 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.193e-05/1.182, allocations: 158.5 kB / 0.9854 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/1.183, allocations: 79.28 kB / 0.9855 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.645e-05/1.183, allocations: 158.5 kB / 0.9856 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/1.183, allocations: 79.28 kB / 0.9857 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/1.183, allocations: 79.28 kB / 0.9858 GB, free: 14.83 MB / 0.7481 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.00014/1.183, allocations: 272.3 kB / 0.986 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/1.183, allocations: 108.9 kB / 0.9861 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/1.183, allocations: 107.9 kB / 0.9862 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/1.183, allocations: 180.2 kB / 0.9864 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/1.183, allocations: 184.2 kB / 0.9866 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/1.183, allocations: 188.1 kB / 0.9868 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/1.184, allocations: 397.2 kB / 0.9871 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/1.184, allocations: 109 kB / 0.9872 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/1.184, allocations: 108.9 kB / 0.9874 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.637e-05/1.184, allocations: 176.3 kB / 0.9875 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/1.184, allocations: 188.2 kB / 0.9877 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.066e-05/1.184, allocations: 180.3 kB / 0.9879 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.029e-05/1.184, allocations: 180.2 kB / 0.988 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.184, allocations: 312 kB / 0.9883 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/1.184, allocations: 190 kB / 0.9885 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/1.184, allocations: 188.3 kB / 0.9887 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.184, allocations: 101 kB / 0.9888 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/1.185, allocations: 184.2 kB / 0.989 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/1.185, allocations: 101 kB / 0.9891 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.156e-05/1.185, allocations: 87.27 kB / 0.9892 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.185, allocations: 0 / 0.9892 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002708/1.185, allocations: 4 kB / 0.9892 GB, free: 11.14 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.0001395/1.185, allocations: 178.5 kB / 0.9893 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.095e-05/1.185, allocations: 3.938 kB / 0.9893 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.185, allocations: 0 / 0.9893 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/1.185, allocations: 4 kB / 0.9893 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/1.186, allocations: 461.6 kB / 0.9898 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/1.186, allocations: 172.8 kB / 0.9899 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/1.186, allocations: 0.6727 MB / 0.9906 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.463e-05/1.186, allocations: 4 kB / 0.9906 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/1.186, allocations: 7.438 kB / 0.9906 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.186, allocations: 0 / 0.9906 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of Templates: time 0.002671/1.189, allocations: 0.5016 MB / 0.9911 GB, free: 9.086 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