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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008843/0.0008844, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006528/0.006528, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005189, allocations: 9.094 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3794, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002959/0.3824, allocations: 0.9627 MB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.387, allocations: 1.239 MB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.3871, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3872, allocations: 3.938 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3884, allocations: 159.6 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.3887, allocations: 43.19 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.3888, allocations: 15.98 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.3888, allocations: 3.984 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.3889, allocations: 4 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.519/0.9079, allocations: 28.17 MB / 1.089 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.9079, allocations: 0 / 1.089 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.908, allocations: 0 / 1.089 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.908, allocations: 0 / 1.089 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.908, allocations: 29.7 kB / 1.089 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.548e-05/0.9081, allocations: 11.98 kB / 1.089 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9081, allocations: 4 kB / 1.089 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9081, allocations: 3.938 kB / 1.089 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.9081, allocations: 0 / 1.089 GB, free: 9.793 MB / 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.0003137/0.9085, allocations: 315.5 kB / 1.089 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9085, allocations: 8.031 kB / 1.089 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.9086, allocations: 80.22 kB / 1.089 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.9088, allocations: 243.6 kB / 1.089 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.9089, allocations: 158.9 kB / 1.089 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.9089, allocations: 150.9 kB / 1.09 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.909, allocations: 113.1 kB / 1.09 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.9091, allocations: 79.12 kB / 1.09 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.9091, allocations: 150.6 kB / 1.09 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-05/0.9092, allocations: 150.6 kB / 1.09 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.284e-05/0.9093, allocations: 154.6 kB / 1.09 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.9096, allocations: 449.9 kB / 1.091 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.9097, allocations: 165.1 kB / 1.091 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.9098, allocations: 88.12 kB / 1.091 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.9098, allocations: 79.28 kB / 1.091 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.9099, allocations: 113.8 kB / 1.091 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9099, allocations: 0 / 1.091 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.502e-05/0.91, allocations: 33.69 kB / 1.091 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.9101, allocations: 207.7 kB / 1.091 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.9102, allocations: 93.86 kB / 1.091 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.9102, allocations: 29.7 kB / 1.091 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.9103, allocations: 88.14 kB / 1.091 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.9103, allocations: 0 / 1.091 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.9103, allocations: 9.719 kB / 1.091 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9105, allocations: 314.8 kB / 1.092 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-06/0.9105, allocations: 3.938 kB / 1.092 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.9105, allocations: 18.58 kB / 1.092 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.9106, allocations: 75.28 kB / 1.092 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/0.9106, allocations: 79.28 kB / 1.092 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.223e-05/0.9107, allocations: 33.64 kB / 1.092 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.9107, allocations: 83.28 kB / 1.092 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/0.9108, allocations: 79.22 kB / 1.092 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.286e-05/0.9108, allocations: 158.5 kB / 1.092 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.992e-05/0.9109, allocations: 75.28 kB / 1.092 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-05/0.911, allocations: 158.4 kB / 1.092 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.9116, allocations: 87.28 kB / 1.093 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.9117, allocations: 79.22 kB / 1.093 GB, free: 5.414 MB / 0.8419 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.0001477/0.9119, allocations: 264.4 kB / 1.093 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.9119, allocations: 112.8 kB / 1.093 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.912, allocations: 108.1 kB / 1.093 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/0.9121, allocations: 184.2 kB / 1.093 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/0.9121, allocations: 176.3 kB / 1.093 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.779e-05/0.9122, allocations: 184.2 kB / 1.094 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.9125, allocations: 401.2 kB / 1.094 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.9125, allocations: 105.2 kB / 1.094 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.9126, allocations: 116.8 kB / 1.094 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.9127, allocations: 184.3 kB / 1.094 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.9127, allocations: 184.2 kB / 1.095 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.647e-05/0.9128, allocations: 176.3 kB / 1.095 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-05/0.9129, allocations: 180.2 kB / 1.095 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.9131, allocations: 311.8 kB / 1.095 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.9132, allocations: 186 kB / 1.095 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.9132, allocations: 176.3 kB / 1.096 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.9134, allocations: 112.9 kB / 1.096 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.9135, allocations: 176.3 kB / 1.096 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.9135, allocations: 109 kB / 1.096 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.9136, allocations: 79.52 kB / 1.096 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9136, allocations: 0 / 1.096 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002671/0.9139, allocations: 4 kB / 1.096 GB, free: 1.738 MB / 0.8419 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.914, allocations: 178.5 kB / 1.096 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.616e-05/0.9141, allocations: 3.938 kB / 1.096 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9141, allocations: 4 kB / 1.096 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.9141, allocations: 4 kB / 1.096 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.9145, allocations: 0.5239 MB / 1.097 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.9148, allocations: 167.9 kB / 1.097 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.9151, allocations: 0.6733 MB / 1.097 GB, free: 124 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.9152, allocations: 11.98 kB / 1.098 GB, free: 112 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.9152, allocations: 7.438 kB / 1.098 GB, free: 104 kB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.9152, allocations: 3.938 kB / 1.098 GB, free: 100 kB / 0.8419 GB Notification: Performance of Templates: time 0.002749/0.918, allocations: 472.2 kB / 1.098 GB, free: 15.64 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