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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001178/0.001178, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001216/0.001216, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.06 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002385/0.2995, allocations: 1.221 MB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3014, allocations: 1.247 MB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.3014, allocations: 0 / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.3015, allocations: 7.938 kB / 0.9536 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.3022, allocations: 215.3 kB / 0.9538 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.3023, allocations: 39.69 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.3024, allocations: 15.94 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.3024, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.3024, allocations: 11.92 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1829/0.4853, allocations: 30.9 MB / 0.984 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.4854, allocations: 0 / 0.984 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.4854, allocations: 4 kB / 0.984 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.4854, allocations: 8 kB / 0.984 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.4854, allocations: 0 / 0.984 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.4856, allocations: 11.92 kB / 0.984 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4856, allocations: 3.984 kB / 0.984 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4856, allocations: 4 kB / 0.984 GB, free: 9.234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4856, allocations: 0 / 0.984 GB, free: 9.234 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.0003285/0.4859, allocations: 319.5 kB / 0.9843 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.486, allocations: 12.03 kB / 0.9843 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.4861, allocations: 76.22 kB / 0.9844 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.4862, allocations: 247.6 kB / 0.9847 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.4863, allocations: 158.8 kB / 0.9848 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.4864, allocations: 154.9 kB / 0.985 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.4864, allocations: 105.1 kB / 0.9851 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.4865, allocations: 75.28 kB / 0.9851 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.4866, allocations: 158.6 kB / 0.9853 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.4866, allocations: 150.6 kB / 0.9854 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.4867, allocations: 150.6 kB / 0.9856 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.487, allocations: 453.9 kB / 0.986 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.4871, allocations: 169.1 kB / 0.9862 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.4871, allocations: 80.19 kB / 0.9862 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.4872, allocations: 79.28 kB / 0.9863 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.4872, allocations: 113.8 kB / 0.9864 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4872, allocations: 0 / 0.9864 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.788e-05/0.4873, allocations: 33.64 kB / 0.9864 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.4874, allocations: 215.8 kB / 0.9867 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4876, allocations: 93.86 kB / 0.9867 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4876, allocations: 29.7 kB / 0.9868 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.4876, allocations: 80.14 kB / 0.9868 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.4876, allocations: 0 / 0.9868 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.4877, allocations: 21.66 kB / 0.9869 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4878, allocations: 314.8 kB / 0.9872 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.4878, allocations: 0 / 0.9872 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.4879, allocations: 22.58 kB / 0.9872 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.4879, allocations: 75.28 kB / 0.9873 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/0.4879, allocations: 75.28 kB / 0.9873 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.438e-05/0.488, allocations: 37.58 kB / 0.9874 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.488, allocations: 79.28 kB / 0.9874 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.4881, allocations: 83.28 kB / 0.9875 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-05/0.4882, allocations: 154.5 kB / 0.9877 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.679e-05/0.4882, allocations: 83.22 kB / 0.9878 GB, free: 5.152 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.607e-05/0.4883, allocations: 150.6 kB / 0.9879 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.4884, allocations: 83.22 kB / 0.988 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4884, allocations: 79.27 kB / 0.9881 GB, free: 4.844 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.0001336/0.4886, allocations: 268.4 kB / 0.9883 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.4887, allocations: 116.8 kB / 0.9884 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.4887, allocations: 108.3 kB / 0.9885 GB, free: 4.336 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/0.4888, allocations: 180.2 kB / 0.9887 GB, free: 4.152 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.029e-05/0.4889, allocations: 180.2 kB / 0.9889 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.687e-05/0.4889, allocations: 184.2 kB / 0.989 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4892, allocations: 409.2 kB / 0.9894 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/0.4892, allocations: 109 kB / 0.9895 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.4893, allocations: 108.9 kB / 0.9896 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-05/0.4893, allocations: 184.1 kB / 0.9898 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.4894, allocations: 180.3 kB / 0.99 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-05/0.4895, allocations: 180.2 kB / 0.9902 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-05/0.4896, allocations: 184.3 kB / 0.9903 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4897, allocations: 307.8 kB / 0.9906 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.4898, allocations: 182 kB / 0.9908 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.4899, allocations: 180.2 kB / 0.991 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.49, allocations: 113 kB / 0.9911 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.4901, allocations: 176.3 kB / 0.9912 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.4902, allocations: 108.9 kB / 0.9914 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.4902, allocations: 79.28 kB / 0.9914 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4902, allocations: 0 / 0.9914 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002564/0.4905, allocations: 4 kB / 0.9914 GB, free: 1.152 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.0001525/0.4907, allocations: 186.5 kB / 0.9916 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 5.2e-05/0.4907, allocations: 0 / 0.9916 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4907, allocations: 0 / 0.9916 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4907, allocations: 0 / 0.9916 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4911, allocations: 463.6 kB / 0.9921 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.4914, allocations: 164.8 kB / 0.9922 GB, free: 324 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4917, allocations: 0.6727 MB / 0.9929 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.4917, allocations: 4 kB / 0.9929 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.4918, allocations: 7.438 kB / 0.9929 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.4918, allocations: 0 / 0.9929 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.00466/0.4964, allocations: 0.4982 MB / 0.9934 GB, free: 15.11 MB / 0.7794 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 -s cvode -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