Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_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_10_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.002024/0.002024, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002285/0.002285, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.549/1.549, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.09 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7638, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002683/0.7666, allocations: 1.299 MB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.7686, allocations: 1.261 MB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.7687, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.7687, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.7693, allocations: 155.6 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.7695, allocations: 35.58 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.7695, allocations: 16.05 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.7696, allocations: 8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.7696, allocations: 7.984 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5465/1.316, allocations: 28.17 MB / 1.047 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/1.316, allocations: 0 / 1.047 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/1.316, allocations: 4 kB / 1.047 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/1.316, allocations: 3.984 kB / 1.047 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/1.316, allocations: 8 kB / 1.047 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.285e-05/1.316, allocations: 11.92 kB / 1.047 GB, free: 7.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.316, allocations: 0 / 1.047 GB, free: 7.121 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.012e-06/1.316, allocations: 4 kB / 1.047 GB, free: 7.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.027e-06/1.316, allocations: 0 / 1.047 GB, free: 7.117 MB / 0.795 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.0003609/1.317, allocations: 319.5 kB / 1.047 GB, free: 6.758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.317, allocations: 8.031 kB / 1.047 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/1.317, allocations: 80.2 kB / 1.047 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.317, allocations: 239.7 kB / 1.048 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/1.317, allocations: 158.8 kB / 1.048 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/1.317, allocations: 154.9 kB / 1.048 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/1.317, allocations: 105.1 kB / 1.048 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/1.317, allocations: 75.28 kB / 1.048 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.317, allocations: 150.6 kB / 1.048 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/1.317, allocations: 150.6 kB / 1.048 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/1.318, allocations: 158.6 kB / 1.048 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/1.318, allocations: 449.9 kB / 1.049 GB, free: 4.965 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.318, allocations: 169.1 kB / 1.049 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/1.318, allocations: 80.14 kB / 1.049 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/1.318, allocations: 83.27 kB / 1.049 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/1.318, allocations: 113.8 kB / 1.049 GB, free: 4.504 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/1.318, allocations: 0 / 1.049 GB, free: 4.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.367e-05/1.318, allocations: 29.64 kB / 1.049 GB, free: 4.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.318, allocations: 211.8 kB / 1.05 GB, free: 4.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.319, allocations: 97.86 kB / 1.05 GB, free: 4.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.319, allocations: 25.7 kB / 1.05 GB, free: 4.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/1.319, allocations: 80.14 kB / 1.05 GB, free: 4.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/1.319, allocations: 4 kB / 1.05 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/1.319, allocations: 13.72 kB / 1.05 GB, free: 3.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.319, allocations: 318.8 kB / 1.05 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/1.319, allocations: 0 / 1.05 GB, free: 3.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/1.319, allocations: 18.58 kB / 1.05 GB, free: 3.641 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/1.319, allocations: 75.28 kB / 1.05 GB, free: 3.566 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/1.319, allocations: 75.28 kB / 1.05 GB, free: 3.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.081e-05/1.319, allocations: 45.48 kB / 1.05 GB, free: 3.441 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/1.319, allocations: 83.28 kB / 1.05 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/1.319, allocations: 79.31 kB / 1.05 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.198e-05/1.319, allocations: 158.5 kB / 1.051 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/1.319, allocations: 83.22 kB / 1.051 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.235e-05/1.319, allocations: 150.6 kB / 1.051 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/1.32, allocations: 87.22 kB / 1.051 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/1.32, allocations: 75.28 kB / 1.051 GB, free: 2.734 MB / 0.795 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.0001522/1.32, allocations: 268.4 kB / 1.051 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/1.32, allocations: 112.9 kB / 1.051 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/1.32, allocations: 108 kB / 1.051 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-05/1.32, allocations: 180.3 kB / 1.052 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-05/1.32, allocations: 184.2 kB / 1.052 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.593e-05/1.32, allocations: 184.2 kB / 1.052 GB, free: 1.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.32, allocations: 401.2 kB / 1.052 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-05/1.321, allocations: 109 kB / 1.052 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/1.321, allocations: 104.9 kB / 1.052 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.891e-05/1.321, allocations: 188.1 kB / 1.053 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/1.321, allocations: 176.3 kB / 1.053 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.741e-05/1.321, allocations: 188.2 kB / 1.053 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.658e-05/1.321, allocations: 180.3 kB / 1.053 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/1.321, allocations: 307.8 kB / 1.053 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/1.321, allocations: 186 kB / 1.054 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.321, allocations: 188.6 kB / 1.054 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.322, allocations: 101 kB / 1.054 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/1.322, allocations: 180.3 kB / 1.054 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/1.322, allocations: 109 kB / 1.054 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.164e-05/1.322, allocations: 87.27 kB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.322, allocations: 0 / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002547/1.322, allocations: 4 kB / 1.054 GB, free: 15.04 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.0001781/1.322, allocations: 174.5 kB / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.555e-05/1.322, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.322, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/1.322, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/1.323, allocations: 0.534 MB / 1.055 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/1.323, allocations: 174.5 kB / 1.055 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/1.323, allocations: 0.6692 MB / 1.056 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.626e-05/1.323, allocations: 8 kB / 1.056 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/1.323, allocations: 7.438 kB / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/1.323, allocations: 0 / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002831/1.326, allocations: 490.6 kB / 1.056 GB, free: 12.93 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches