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.0009272/0.0009273, allocations: 92.78 kB / 16.02 MB, free: 80 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.001068/0.001068, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 443.2 MB / 0.7181 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 8.906 kB / 0.8801 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3133, allocations: 155.2 MB / 1.032 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001465/0.3148, allocations: 0.9481 MB / 1.033 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3169, allocations: 1.246 MB / 1.034 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.317, allocations: 0 / 1.034 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.317, allocations: 4 kB / 1.034 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.3177, allocations: 159.6 kB / 1.034 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.3179, allocations: 43 kB / 1.034 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.3179, allocations: 12 kB / 1.034 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.318, allocations: 4 kB / 1.034 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.318, allocations: 7.984 kB / 1.034 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.448/0.766, allocations: 28.17 MB / 1.062 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.766, allocations: 0 / 1.062 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.766, allocations: 7.938 kB / 1.062 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.766, allocations: 8 kB / 1.062 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.7661, allocations: 25.7 kB / 1.062 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.619e-05/0.7661, allocations: 7.984 kB / 1.062 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7662, allocations: 0 / 1.062 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7662, allocations: 0 / 1.062 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7662, allocations: 0 / 1.062 GB, free: 9.57 MB / 0.8106 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.0002615/0.7664, allocations: 315.4 kB / 1.062 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7665, allocations: 12.09 kB / 1.062 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.7666, allocations: 76.22 kB / 1.062 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7667, allocations: 255.6 kB / 1.062 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.7668, allocations: 150.9 kB / 1.062 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.7668, allocations: 154.9 kB / 1.062 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.584e-05/0.7669, allocations: 105.1 kB / 1.063 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.7669, allocations: 75.28 kB / 1.063 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.767, allocations: 154.6 kB / 1.063 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.767, allocations: 158.4 kB / 1.063 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.7671, allocations: 150.6 kB / 1.063 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.7673, allocations: 449.9 kB / 1.064 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.7674, allocations: 169.1 kB / 1.064 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.7675, allocations: 80.14 kB / 1.064 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.7675, allocations: 79.22 kB / 1.064 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.7675, allocations: 117.8 kB / 1.064 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.7676, allocations: 3.938 kB / 1.064 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.4e-05/0.7676, allocations: 25.7 kB / 1.064 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.7677, allocations: 203.8 kB / 1.064 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7678, allocations: 105.8 kB / 1.064 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.7679, allocations: 29.7 kB / 1.064 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.7679, allocations: 80.14 kB / 1.064 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-06/0.7679, allocations: 0 / 1.064 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.7679, allocations: 9.719 kB / 1.064 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.768, allocations: 310.8 kB / 1.065 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-06/0.7681, allocations: 0 / 1.065 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.7681, allocations: 26.52 kB / 1.065 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.7681, allocations: 79.27 kB / 1.065 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/0.7682, allocations: 75.28 kB / 1.065 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.703e-05/0.7682, allocations: 37.64 kB / 1.065 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.7683, allocations: 83.28 kB / 1.065 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.7683, allocations: 79.33 kB / 1.065 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.813e-05/0.7684, allocations: 154.5 kB / 1.065 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.411e-05/0.7684, allocations: 79.28 kB / 1.065 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.014e-05/0.7685, allocations: 154.5 kB / 1.065 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.7686, allocations: 83.27 kB / 1.065 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.7687, allocations: 75.28 kB / 1.066 GB, free: 5.195 MB / 0.8106 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.0001206/0.7688, allocations: 268.3 kB / 1.066 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.7689, allocations: 112.9 kB / 1.066 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.7689, allocations: 108.1 kB / 1.066 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/0.769, allocations: 180.2 kB / 1.066 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/0.769, allocations: 176.3 kB / 1.066 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-05/0.7691, allocations: 188.2 kB / 1.067 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.7693, allocations: 397.2 kB / 1.067 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/0.7694, allocations: 105 kB / 1.067 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.7694, allocations: 116.8 kB / 1.067 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.976e-05/0.7695, allocations: 180.3 kB / 1.067 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.7695, allocations: 184.2 kB / 1.067 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.898e-05/0.7696, allocations: 184.3 kB / 1.068 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-05/0.7697, allocations: 184.3 kB / 1.068 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.7698, allocations: 308 kB / 1.068 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.7699, allocations: 190 kB / 1.068 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.7699, allocations: 184.3 kB / 1.068 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.7701, allocations: 101 kB / 1.069 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.7701, allocations: 192.2 kB / 1.069 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.7702, allocations: 105.2 kB / 1.069 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.7702, allocations: 79.27 kB / 1.069 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.7702, allocations: 0 / 1.069 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000247/0.7705, allocations: 7.938 kB / 1.069 GB, free: 1.492 MB / 0.8106 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.0001256/0.7706, allocations: 174.5 kB / 1.069 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.224e-05/0.7707, allocations: 7.938 kB / 1.069 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7707, allocations: 0 / 1.069 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.7707, allocations: 0 / 1.069 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.7711, allocations: 0.5371 MB / 1.07 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.7713, allocations: 193.6 kB / 1.07 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.7716, allocations: 0.6731 MB / 1.07 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-06/0.7716, allocations: 7.438 kB / 1.07 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.7716, allocations: 0 / 1.07 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.001578/0.7732, allocations: 451.6 kB / 1.071 GB, free: 15.39 MB / 0.8262 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