Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 188.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.4 MB / 0.7321 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.89 kB / 1.061 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7368, allocations: 160.8 MB / 1.218 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002359/0.7391, allocations: 1.24 MB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.7413, allocations: 1.359 MB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.7413, allocations: 4.844 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.7413, allocations: 0 / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.742, allocations: 211.5 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.989e-05/0.7421, allocations: 31.02 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.7421, allocations: 12.22 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.7422, allocations: 5.516 kB / 1.221 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.7422, allocations: 10.11 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2646/1.007, allocations: 31.08 MB / 1.252 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/1.007, allocations: 4 kB / 1.252 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/1.007, allocations: 0 / 1.252 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/1.007, allocations: 0 / 1.252 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/1.007, allocations: 7.984 kB / 1.252 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/1.007, allocations: 7.984 kB / 1.252 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.007, allocations: 3.938 kB / 1.252 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/1.007, allocations: 0 / 1.252 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.007, allocations: 3.938 kB / 1.252 GB, free: 7.473 MB / 0.9512 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.007, allocations: 319.5 kB / 1.252 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.007, allocations: 12.03 kB / 1.252 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/1.007, allocations: 84.2 kB / 1.252 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.008, allocations: 239.6 kB / 1.252 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/1.008, allocations: 158.9 kB / 1.252 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/1.008, allocations: 150.9 kB / 1.253 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.026e-05/1.008, allocations: 109.1 kB / 1.253 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/1.008, allocations: 79.28 kB / 1.253 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/1.008, allocations: 150.6 kB / 1.253 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/1.008, allocations: 150.6 kB / 1.253 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/1.008, allocations: 154.5 kB / 1.253 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/1.008, allocations: 449.9 kB / 1.254 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.281e-05/1.008, allocations: 169.1 kB / 1.254 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/1.008, allocations: 80.14 kB / 1.254 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/1.009, allocations: 75.28 kB / 1.254 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/1.009, allocations: 121.8 kB / 1.254 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.009, allocations: 4 kB / 1.254 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.595e-05/1.009, allocations: 29.66 kB / 1.254 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.009, allocations: 211.8 kB / 1.254 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.009, allocations: 93.86 kB / 1.254 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/1.009, allocations: 25.7 kB / 1.254 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/1.009, allocations: 88.14 kB / 1.254 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/1.009, allocations: 0 / 1.254 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/1.009, allocations: 13.72 kB / 1.254 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.009, allocations: 314.8 kB / 1.255 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-06/1.009, allocations: 4 kB / 1.255 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/1.009, allocations: 22.58 kB / 1.255 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/1.009, allocations: 79.22 kB / 1.255 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/1.009, allocations: 75.28 kB / 1.255 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.395e-05/1.009, allocations: 33.64 kB / 1.255 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/1.009, allocations: 79.28 kB / 1.255 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/1.009, allocations: 83.28 kB / 1.255 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.637e-05/1.009, allocations: 166.5 kB / 1.255 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/1.009, allocations: 75.28 kB / 1.255 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.12e-05/1.01, allocations: 154.5 kB / 1.256 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.01, allocations: 87.22 kB / 1.256 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/1.01, allocations: 75.28 kB / 1.256 GB, free: 3.078 MB / 0.9512 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.0001552/1.01, allocations: 272.3 kB / 1.256 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/1.01, allocations: 108.9 kB / 1.256 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/1.01, allocations: 104.1 kB / 1.256 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.03e-05/1.01, allocations: 188.2 kB / 1.256 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-05/1.01, allocations: 176.3 kB / 1.256 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-05/1.01, allocations: 184.2 kB / 1.257 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/1.011, allocations: 401.2 kB / 1.257 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.189e-05/1.011, allocations: 113 kB / 1.257 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/1.011, allocations: 109.1 kB / 1.257 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.078e-05/1.011, allocations: 180.3 kB / 1.257 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/1.011, allocations: 176.3 kB / 1.258 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.198e-05/1.011, allocations: 184.2 kB / 1.258 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/1.011, allocations: 176.3 kB / 1.258 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/1.011, allocations: 311.7 kB / 1.258 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/1.011, allocations: 190 kB / 1.258 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.011, allocations: 188.2 kB / 1.259 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.011, allocations: 109 kB / 1.259 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/1.012, allocations: 180.2 kB / 1.259 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/1.012, allocations: 101 kB / 1.259 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.741e-05/1.012, allocations: 83.27 kB / 1.259 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/1.012, allocations: 0 / 1.259 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000286/1.012, allocations: 4 kB / 1.259 GB, free: 15.39 MB / 0.9669 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.0001639/1.012, allocations: 174.5 kB / 1.259 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.101e-05/1.012, allocations: 7.938 kB / 1.259 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.012, allocations: 4 kB / 1.259 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.012, allocations: 0 / 1.259 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/1.013, allocations: 451.7 kB / 1.26 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/1.013, allocations: 180.8 kB / 1.26 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/1.013, allocations: 0.669 MB / 1.26 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.064e-05/1.013, allocations: 4 kB / 1.26 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/1.013, allocations: 7.438 kB / 1.26 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/1.013, allocations: 0 / 1.26 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of Templates: time 0.004602/1.018, allocations: 0.4988 MB / 1.261 GB, free: 13.35 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.367456970736384]