Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.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.001523/0.001523, allocations: 106 kB / 15.99 MB, free: 5.891 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.001426/0.001426, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 469.8 MB / 0.7427 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002028, allocations: 69.59 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2962, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002641/0.2989, allocations: 1.294 MB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3008, allocations: 1.247 MB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.3008, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.3009, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.3016, allocations: 179.6 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.3017, allocations: 33.44 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.3018, allocations: 15.94 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.3018, allocations: 7.984 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.3019, allocations: 12 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5205/0.8223, allocations: 30.64 MB / 1.097 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.8224, allocations: 0 / 1.097 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.8224, allocations: 0 / 1.097 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.8224, allocations: 4 kB / 1.097 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.8225, allocations: 0 / 1.097 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.224e-05/0.8225, allocations: 7.984 kB / 1.097 GB, free: 12 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8225, allocations: 0 / 1.097 GB, free: 12 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8225, allocations: 0 / 1.097 GB, free: 12 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8225, allocations: 0 / 1.097 GB, free: 12 kB / 0.8419 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.0003785/0.8229, allocations: 327.5 kB / 1.097 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.823, allocations: 12.03 kB / 1.097 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.8231, allocations: 76.22 kB / 1.097 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8232, allocations: 239.6 kB / 1.097 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.8233, allocations: 154.9 kB / 1.098 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.8234, allocations: 154.9 kB / 1.098 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.15e-05/0.8235, allocations: 117 kB / 1.098 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.8235, allocations: 75.28 kB / 1.098 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.8236, allocations: 150.6 kB / 1.098 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/0.8236, allocations: 154.5 kB / 1.098 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.8237, allocations: 150.6 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.8241, allocations: 450 kB / 1.099 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.8242, allocations: 173.1 kB / 1.099 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.8242, allocations: 80.14 kB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.8242, allocations: 75.28 kB / 1.099 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.8243, allocations: 121.8 kB / 1.099 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8243, allocations: 4 kB / 1.099 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.268e-05/0.8244, allocations: 29.61 kB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.8246, allocations: 203.8 kB / 1.099 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.8247, allocations: 93.86 kB / 1.1 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.8247, allocations: 33.64 kB / 1.1 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.8248, allocations: 88.12 kB / 1.1 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.8248, allocations: 0 / 1.1 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.8248, allocations: 17.7 kB / 1.1 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8249, allocations: 314.8 kB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.825, allocations: 0 / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.825, allocations: 22.58 kB / 1.1 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.825, allocations: 75.28 kB / 1.1 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.594e-05/0.8251, allocations: 79.28 kB / 1.1 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.347e-05/0.8252, allocations: 37.62 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.8252, allocations: 79.28 kB / 1.1 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.8252, allocations: 83.22 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.506e-05/0.8253, allocations: 154.6 kB / 1.1 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.8254, allocations: 79.22 kB / 1.101 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.048e-05/0.8254, allocations: 150.6 kB / 1.101 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.8256, allocations: 87.27 kB / 1.101 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.8256, allocations: 79.22 kB / 1.101 GB, free: 11.61 MB / 0.8575 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.0001429/0.8258, allocations: 264.4 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.8259, allocations: 104.9 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.8259, allocations: 112.3 kB / 1.101 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.713e-05/0.826, allocations: 184.2 kB / 1.101 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-05/0.8261, allocations: 184.2 kB / 1.102 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.57e-05/0.8262, allocations: 188.1 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.8265, allocations: 405.2 kB / 1.102 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/0.8265, allocations: 108.9 kB / 1.102 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.8266, allocations: 105.2 kB / 1.102 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.8267, allocations: 180.3 kB / 1.103 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.8267, allocations: 184.2 kB / 1.103 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-05/0.8268, allocations: 184.3 kB / 1.103 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.919e-05/0.8269, allocations: 180.2 kB / 1.103 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.8272, allocations: 299.8 kB / 1.103 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.8273, allocations: 198 kB / 1.104 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.8274, allocations: 176.3 kB / 1.104 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.8276, allocations: 112.9 kB / 1.104 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.8277, allocations: 176.3 kB / 1.104 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.8277, allocations: 105 kB / 1.104 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.8278, allocations: 83.22 kB / 1.104 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8278, allocations: 0 / 1.104 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002478/0.828, allocations: 8 kB / 1.104 GB, free: 7.926 MB / 0.8575 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.0001607/0.8282, allocations: 170.5 kB / 1.104 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.471e-05/0.8282, allocations: 8 kB / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8283, allocations: 0 / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.8283, allocations: 0 / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.8287, allocations: 459.7 kB / 1.105 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.8289, allocations: 198.5 kB / 1.105 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.8292, allocations: 0.6728 MB / 1.106 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.8293, allocations: 11.44 kB / 1.106 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.8293, allocations: 0 / 1.106 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of Templates: time 0.001944/0.8312, allocations: 471.5 kB / 1.106 GB, free: 5.887 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches