Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001789/0.001789, allocations: 108 kB / 15.61 MB, free: 148 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.001882/0.001882, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.7 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 62.77 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4283, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002572/0.431, allocations: 1.233 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.433, allocations: 1.251 MB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.4331, allocations: 0 / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.4331, allocations: 0 / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.4339, allocations: 215.3 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.434, allocations: 31.89 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.4341, allocations: 12 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.4341, allocations: 3.984 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.4341, allocations: 15.92 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1778/0.612, allocations: 30.62 MB / 1.101 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.612, allocations: 7.938 kB / 1.101 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.612, allocations: 0 / 1.101 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.6121, allocations: 4 kB / 1.101 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.6121, allocations: 11.98 kB / 1.101 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.6122, allocations: 11.92 kB / 1.101 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6122, allocations: 0 / 1.101 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6123, allocations: 0 / 1.101 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.6123, allocations: 0 / 1.101 GB, free: 11.84 MB / 0.8575 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.0003429/0.6126, allocations: 323.6 kB / 1.101 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6127, allocations: 8.031 kB / 1.101 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.6128, allocations: 80.22 kB / 1.101 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6129, allocations: 247.5 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.613, allocations: 154.9 kB / 1.102 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.613, allocations: 150.9 kB / 1.102 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.6131, allocations: 105.1 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.6132, allocations: 75.28 kB / 1.102 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.6132, allocations: 162.5 kB / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.6133, allocations: 154.6 kB / 1.102 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.6134, allocations: 154.5 kB / 1.102 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.6136, allocations: 438 kB / 1.103 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.6137, allocations: 177.1 kB / 1.103 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.6138, allocations: 84.14 kB / 1.103 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6138, allocations: 79.22 kB / 1.103 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.6139, allocations: 109.8 kB / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.6139, allocations: 0 / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.424e-05/0.614, allocations: 37.69 kB / 1.103 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.6141, allocations: 207.8 kB / 1.103 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.6142, allocations: 97.86 kB / 1.104 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6142, allocations: 25.7 kB / 1.104 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.6143, allocations: 80.14 kB / 1.104 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.6143, allocations: 0 / 1.104 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.6143, allocations: 25.75 kB / 1.104 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6144, allocations: 314.8 kB / 1.104 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.6145, allocations: 0 / 1.104 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.6145, allocations: 22.52 kB / 1.104 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.6145, allocations: 79.28 kB / 1.104 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/0.6146, allocations: 79.22 kB / 1.104 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.832e-05/0.6146, allocations: 37.62 kB / 1.104 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.6147, allocations: 83.19 kB / 1.104 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.6147, allocations: 79.28 kB / 1.104 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.764e-05/0.6148, allocations: 154.5 kB / 1.105 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.6148, allocations: 83.28 kB / 1.105 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/0.6149, allocations: 158.5 kB / 1.105 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.615, allocations: 79.27 kB / 1.105 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.6151, allocations: 79.28 kB / 1.105 GB, free: 7.441 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.0001282/0.6152, allocations: 266.1 kB / 1.105 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.6153, allocations: 112.9 kB / 1.105 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.6153, allocations: 107.9 kB / 1.105 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/0.6154, allocations: 180.2 kB / 1.106 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.6155, allocations: 184.2 kB / 1.106 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/0.6156, allocations: 180.2 kB / 1.106 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.6158, allocations: 409.2 kB / 1.106 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.6158, allocations: 105 kB / 1.106 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.6159, allocations: 108.9 kB / 1.106 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.461e-05/0.616, allocations: 184.2 kB / 1.107 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.616, allocations: 188.2 kB / 1.107 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-05/0.6161, allocations: 180.2 kB / 1.107 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.609e-05/0.6162, allocations: 180.3 kB / 1.107 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.6163, allocations: 303.8 kB / 1.107 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.6164, allocations: 190 kB / 1.108 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/0.6165, allocations: 180.3 kB / 1.108 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6167, allocations: 105 kB / 1.108 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.6167, allocations: 184.2 kB / 1.108 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.6168, allocations: 101 kB / 1.108 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.6168, allocations: 87.27 kB / 1.108 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/0.6168, allocations: 0 / 1.108 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.6171, allocations: 4 kB / 1.108 GB, free: 3.754 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.0001437/0.6173, allocations: 170.5 kB / 1.108 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.605e-05/0.6173, allocations: 7.938 kB / 1.108 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6173, allocations: 0 / 1.108 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.6174, allocations: 0 / 1.108 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.6177, allocations: 461.6 kB / 1.109 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.618, allocations: 176.5 kB / 1.109 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.6183, allocations: 0.6729 MB / 1.11 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.6183, allocations: 4.375 kB / 1.11 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.6183, allocations: 7.438 kB / 1.11 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.6183, allocations: 0 / 1.11 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.004684/0.623, allocations: 0.4927 MB / 1.11 GB, free: 1.711 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches