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.001558/0.001558, allocations: 106.3 kB / 16.41 MB, free: 6.41 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.001508/0.001508, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.09 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.899/0.9004, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002248/0.9027, allocations: 1.226 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.9045, allocations: 1.253 MB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.9045, allocations: 0 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.9046, allocations: 0 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.9053, allocations: 218 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.821e-05/0.9054, allocations: 36.61 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.9054, allocations: 24.81 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.9055, allocations: 1.875 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.9055, allocations: 6.078 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1849/1.09, allocations: 30.9 MB / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/1.09, allocations: 0 / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/1.09, allocations: 1.219 kB / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/1.09, allocations: 5.75 kB / 1.121 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/1.09, allocations: 7.219 kB / 1.121 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/1.091, allocations: 11.34 kB / 1.121 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.091, allocations: 0.7031 kB / 1.121 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/1.091, allocations: 0 / 1.121 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.091, allocations: 0 / 1.121 GB, free: 5.262 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.000339/1.091, allocations: 322.2 kB / 1.122 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.091, allocations: 9.562 kB / 1.122 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/1.091, allocations: 78.08 kB / 1.122 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.091, allocations: 242.1 kB / 1.122 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/1.091, allocations: 155.8 kB / 1.122 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/1.091, allocations: 154.9 kB / 1.122 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.691e-05/1.091, allocations: 110.8 kB / 1.123 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/1.092, allocations: 79.28 kB / 1.123 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/1.092, allocations: 156.2 kB / 1.123 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/1.092, allocations: 150.6 kB / 1.123 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/1.092, allocations: 151.7 kB / 1.123 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/1.092, allocations: 455.4 kB / 1.123 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/1.092, allocations: 165.1 kB / 1.124 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/1.092, allocations: 81.67 kB / 1.124 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/1.092, allocations: 75.28 kB / 1.124 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.092, allocations: 112.5 kB / 1.124 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.316e-06/1.092, allocations: 4 kB / 1.124 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/1.092, allocations: 39.3 kB / 1.124 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.092, allocations: 209.6 kB / 1.124 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.093, allocations: 95.91 kB / 1.124 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/1.093, allocations: 27.27 kB / 1.124 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/1.093, allocations: 80.14 kB / 1.124 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/1.093, allocations: 0.8125 kB / 1.124 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/1.093, allocations: 18.36 kB / 1.124 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.093, allocations: 317.2 kB / 1.125 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-06/1.093, allocations: 0 / 1.125 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/1.093, allocations: 19.12 kB / 1.125 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/1.093, allocations: 76.66 kB / 1.125 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/1.093, allocations: 75.28 kB / 1.125 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.838e-05/1.093, allocations: 38.66 kB / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.093, allocations: 83.88 kB / 1.125 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/1.093, allocations: 85.06 kB / 1.125 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/1.093, allocations: 151.8 kB / 1.125 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-05/1.093, allocations: 85.12 kB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.614e-05/1.093, allocations: 152.3 kB / 1.125 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.093, allocations: 82.84 kB / 1.125 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/1.093, allocations: 76.97 kB / 1.126 GB, free: 0.9531 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.0001212/1.094, allocations: 267.4 kB / 1.126 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/1.094, allocations: 107.9 kB / 1.126 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/1.094, allocations: 110.2 kB / 1.126 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/1.094, allocations: 177.9 kB / 1.126 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-05/1.094, allocations: 182.3 kB / 1.126 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/1.094, allocations: 181.9 kB / 1.127 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/1.094, allocations: 406.5 kB / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.053e-05/1.094, allocations: 102.7 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/1.094, allocations: 111 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-05/1.094, allocations: 181.7 kB / 1.127 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004824/1.095, allocations: 186.5 kB / 1.127 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-05/1.095, allocations: 182 kB / 1.128 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-05/1.095, allocations: 178.4 kB / 1.128 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/1.095, allocations: 310 kB / 1.128 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/1.095, allocations: 188.2 kB / 1.128 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/1.095, allocations: 182 kB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.095, allocations: 113.5 kB / 1.129 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/1.095, allocations: 178.2 kB / 1.129 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/1.095, allocations: 106.6 kB / 1.129 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.59e-05/1.096, allocations: 87.08 kB / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/1.096, allocations: 0 / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002823/1.096, allocations: 8.094 kB / 1.129 GB, free: 13.31 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.0001459/1.096, allocations: 172.8 kB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 5.38e-05/1.096, allocations: 3.078 kB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.096, allocations: 0 / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/1.096, allocations: 1.406 kB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/1.096, allocations: 466.8 kB / 1.13 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/1.097, allocations: 191.7 kB / 1.13 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.097, allocations: 0.6719 MB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/1.097, allocations: 8.625 kB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of SimCode: time 3.3e-07/1.097, allocations: 0 / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of Templates: time 0.003975/1.101, allocations: 464.9 kB / 1.131 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/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