Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_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_latest_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.001042/0.001042, 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.001273/0.001273, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003836, allocations: 8.781 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001512/0.3394, allocations: 0.9549 MB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3416, allocations: 1.234 MB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.3416, allocations: 3.938 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.3417, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007307/0.3424, allocations: 163.6 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.3425, allocations: 34.58 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.3426, allocations: 19.92 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.3427, allocations: 0 / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.3427, allocations: 11.92 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4346/0.7773, allocations: 28.17 MB / 1.089 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7773, allocations: 0 / 1.089 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.7774, allocations: 0 / 1.089 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.7774, allocations: 3.984 kB / 1.089 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.7774, allocations: 33.7 kB / 1.089 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.023e-05/0.7775, allocations: 11.98 kB / 1.089 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7775, allocations: 0 / 1.089 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7775, allocations: 0 / 1.089 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.7775, allocations: 0 / 1.089 GB, free: 9.504 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.0002637/0.7778, allocations: 311.5 kB / 1.09 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7778, allocations: 8.031 kB / 1.09 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.7779, allocations: 80.22 kB / 1.09 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.778, allocations: 247.5 kB / 1.09 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.7781, allocations: 154.9 kB / 1.09 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.7781, allocations: 154.9 kB / 1.09 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.307e-05/0.7782, allocations: 113 kB / 1.09 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.7783, allocations: 75.28 kB / 1.09 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.7783, allocations: 154.6 kB / 1.09 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.7784, allocations: 154.6 kB / 1.091 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.7784, allocations: 150.6 kB / 1.091 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.7787, allocations: 450 kB / 1.091 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.7788, allocations: 173.1 kB / 1.091 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.7788, allocations: 84.14 kB / 1.091 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.7789, allocations: 75.28 kB / 1.092 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.7789, allocations: 109.8 kB / 1.092 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7789, allocations: 0 / 1.092 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.443e-05/0.779, allocations: 37.64 kB / 1.092 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.7791, allocations: 203.8 kB / 1.092 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7792, allocations: 97.84 kB / 1.092 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7792, allocations: 29.7 kB / 1.092 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.7793, allocations: 84.14 kB / 1.092 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.7793, allocations: 0 / 1.092 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.7793, allocations: 9.719 kB / 1.092 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7794, allocations: 314.8 kB / 1.092 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-06/0.7794, allocations: 0 / 1.092 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.7795, allocations: 22.56 kB / 1.092 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.7795, allocations: 79.28 kB / 1.092 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.7795, allocations: 75.28 kB / 1.093 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.978e-05/0.7796, allocations: 37.58 kB / 1.093 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.7796, allocations: 79.28 kB / 1.093 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.7797, allocations: 75.28 kB / 1.093 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.23e-05/0.7797, allocations: 154.6 kB / 1.093 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.13e-05/0.7798, allocations: 83.22 kB / 1.093 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.466e-05/0.7798, allocations: 158.5 kB / 1.093 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.78, allocations: 83.22 kB / 1.093 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.78, allocations: 75.28 kB / 1.093 GB, free: 5.133 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.0001142/0.7801, allocations: 264.9 kB / 1.094 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.7802, allocations: 108.8 kB / 1.094 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.7803, allocations: 120 kB / 1.094 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/0.7803, allocations: 184.3 kB / 1.094 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.025e-05/0.7804, allocations: 180.2 kB / 1.094 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/0.7804, allocations: 176.3 kB / 1.094 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.7807, allocations: 409.2 kB / 1.095 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.7807, allocations: 104.9 kB / 1.095 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.7807, allocations: 108.9 kB / 1.095 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/0.7808, allocations: 184.2 kB / 1.095 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.7809, allocations: 180.3 kB / 1.095 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.065e-05/0.7809, allocations: 184.5 kB / 1.095 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.781, allocations: 180.2 kB / 1.096 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.7811, allocations: 315.8 kB / 1.096 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.7812, allocations: 186.3 kB / 1.096 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.7813, allocations: 180.2 kB / 1.096 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.7814, allocations: 109 kB / 1.096 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.7815, allocations: 184.2 kB / 1.096 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.7816, allocations: 104.9 kB / 1.097 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.7816, allocations: 83.28 kB / 1.097 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7816, allocations: 0 / 1.097 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002486/0.7819, allocations: 4 kB / 1.097 GB, free: 1.438 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.0001201/0.782, allocations: 170.5 kB / 1.097 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.136e-05/0.782, allocations: 3.984 kB / 1.097 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.782, allocations: 8 kB / 1.097 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.7821, allocations: 0 / 1.097 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.7824, allocations: 0.5301 MB / 1.097 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.7827, allocations: 193.7 kB / 1.098 GB, free: 500 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.7829, allocations: 0.677 MB / 1.098 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.7829, allocations: 7.438 kB / 1.098 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.7829, allocations: 0 / 1.098 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Templates: time 0.001738/0.7847, allocations: 463.8 kB / 1.099 GB, free: 15.33 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches