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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_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.001001/0.001001, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003174, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5799, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001383/0.5814, allocations: 0.9566 MB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.5834, allocations: 1.245 MB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.5834, allocations: 0 / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.5834, allocations: 3.938 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006266/0.5841, allocations: 155.6 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.5842, allocations: 31.95 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.5842, allocations: 8 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.5843, allocations: 4 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.5843, allocations: 11.97 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4275/1.012, allocations: 28.18 MB / 1.054 GB, free: 4.621 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/1.012, allocations: 4 kB / 1.054 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/1.012, allocations: 4 kB / 1.054 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/1.012, allocations: 0 / 1.054 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/1.012, allocations: 33.69 kB / 1.054 GB, free: 4.574 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.731e-05/1.012, allocations: 3.984 kB / 1.054 GB, free: 4.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.012, allocations: 0 / 1.054 GB, free: 4.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/1.012, allocations: 0 / 1.054 GB, free: 4.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.697e-06/1.012, allocations: 4 kB / 1.054 GB, free: 4.566 MB / 0.795 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.0002808/1.012, allocations: 311.5 kB / 1.054 GB, free: 4.215 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.012, allocations: 16.09 kB / 1.054 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/1.012, allocations: 76.22 kB / 1.054 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.013, allocations: 243.6 kB / 1.054 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/1.013, allocations: 154.9 kB / 1.054 GB, free: 3.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/1.013, allocations: 154.9 kB / 1.055 GB, free: 3.543 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/1.013, allocations: 109 kB / 1.055 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/1.013, allocations: 83.22 kB / 1.055 GB, free: 3.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/1.013, allocations: 150.6 kB / 1.055 GB, free: 3.199 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/1.013, allocations: 154.6 kB / 1.055 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/1.013, allocations: 150.6 kB / 1.055 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/1.013, allocations: 445.9 kB / 1.056 GB, free: 2.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/1.013, allocations: 173.1 kB / 1.056 GB, free: 2.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/1.013, allocations: 84.08 kB / 1.056 GB, free: 2.148 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/1.013, allocations: 75.28 kB / 1.056 GB, free: 2.074 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/1.013, allocations: 117.8 kB / 1.056 GB, free: 1.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.013, allocations: 0 / 1.056 GB, free: 1.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.791e-05/1.014, allocations: 29.7 kB / 1.056 GB, free: 1.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/1.014, allocations: 207.8 kB / 1.056 GB, free: 1.68 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/1.014, allocations: 97.84 kB / 1.056 GB, free: 1.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.014, allocations: 29.7 kB / 1.056 GB, free: 1.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/1.014, allocations: 80.14 kB / 1.056 GB, free: 1.457 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/1.014, allocations: 0 / 1.056 GB, free: 1.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/1.014, allocations: 9.719 kB / 1.056 GB, free: 1.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.014, allocations: 314.8 kB / 1.057 GB, free: 1.125 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/1.014, allocations: 7.938 kB / 1.057 GB, free: 1.117 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/1.014, allocations: 18.58 kB / 1.057 GB, free: 1.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/1.014, allocations: 79.27 kB / 1.057 GB, free: 1.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/1.014, allocations: 75.28 kB / 1.057 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.799e-05/1.014, allocations: 33.64 kB / 1.057 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/1.014, allocations: 83.28 kB / 1.057 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/1.014, allocations: 79.22 kB / 1.057 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/1.014, allocations: 154.6 kB / 1.057 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/1.014, allocations: 79.33 kB / 1.057 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.862e-05/1.014, allocations: 162.5 kB / 1.057 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.015, allocations: 79.27 kB / 1.058 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/1.015, allocations: 79.22 kB / 1.058 GB, free: 196 kB / 0.795 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.000135/1.015, allocations: 264.5 kB / 1.058 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/1.015, allocations: 108.9 kB / 1.058 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/1.015, allocations: 112.1 kB / 1.058 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-05/1.015, allocations: 180.2 kB / 1.058 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/1.015, allocations: 176.3 kB / 1.058 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/1.015, allocations: 188.1 kB / 1.059 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/1.015, allocations: 405.2 kB / 1.059 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/1.015, allocations: 105 kB / 1.059 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/1.015, allocations: 108.9 kB / 1.059 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.837e-05/1.015, allocations: 176.3 kB / 1.059 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/1.016, allocations: 188.1 kB / 1.06 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.939e-05/1.016, allocations: 184.3 kB / 1.06 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.124e-05/1.016, allocations: 180.2 kB / 1.06 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/1.016, allocations: 307.7 kB / 1.06 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/1.016, allocations: 190.3 kB / 1.06 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/1.016, allocations: 184.3 kB / 1.061 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/1.016, allocations: 109.1 kB / 1.061 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/1.016, allocations: 188.3 kB / 1.061 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.016, allocations: 105 kB / 1.061 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.315e-05/1.016, allocations: 75.28 kB / 1.061 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 1.061 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002445/1.017, allocations: 4 kB / 1.061 GB, free: 12.5 MB / 0.8106 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.0001266/1.017, allocations: 186.5 kB / 1.061 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.795e-05/1.017, allocations: 0 / 1.061 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.017, allocations: 0 / 1.061 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.017, allocations: 0 / 1.061 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/1.017, allocations: 0.5276 MB / 1.062 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/1.018, allocations: 193.7 kB / 1.062 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/1.018, allocations: 0.6731 MB / 1.063 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-06/1.018, allocations: 7.438 kB / 1.063 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of SimCode: time 1.723e-06/1.018, allocations: 0 / 1.063 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.001593/1.019, allocations: 471.4 kB / 1.063 GB, free: 10.39 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches