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.001607/0.001607, allocations: 108 kB / 15.61 MB, free: 152 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.001169/0.001169, allocations: 197.8 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.557/2.557, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6379, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002469/0.6404, allocations: 1.233 MB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.6423, allocations: 1.237 MB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.6424, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.6424, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.6432, allocations: 223.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.6433, allocations: 35.95 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.6434, allocations: 11.94 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.6434, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.6435, allocations: 11.97 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1923/0.8358, allocations: 30.64 MB / 1.05 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.8358, allocations: 0 / 1.05 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.8358, allocations: 0 / 1.05 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.8359, allocations: 12 kB / 1.05 GB, free: 4.457 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.8359, allocations: 0 / 1.05 GB, free: 4.457 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.836, allocations: 11.97 kB / 1.05 GB, free: 4.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.836, allocations: 7.938 kB / 1.05 GB, free: 4.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.305e-06/0.836, allocations: 0 / 1.05 GB, free: 4.438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8361, allocations: 0 / 1.05 GB, free: 4.438 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.0006673/0.8367, allocations: 315.5 kB / 1.05 GB, free: 4.082 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.8368, allocations: 12.03 kB / 1.05 GB, free: 4.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.8368, allocations: 84.14 kB / 1.05 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.837, allocations: 239.7 kB / 1.051 GB, free: 3.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.8371, allocations: 154.9 kB / 1.051 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.8371, allocations: 150.9 kB / 1.051 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.537e-05/0.8372, allocations: 105.1 kB / 1.051 GB, free: 3.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.8372, allocations: 75.28 kB / 1.051 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.8373, allocations: 154.6 kB / 1.051 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.8373, allocations: 154.6 kB / 1.051 GB, free: 2.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.8374, allocations: 154.5 kB / 1.051 GB, free: 2.773 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.8376, allocations: 449.9 kB / 1.052 GB, free: 2.285 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/0.8377, allocations: 165.1 kB / 1.052 GB, free: 2.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.8378, allocations: 84.14 kB / 1.052 GB, free: 2.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.8378, allocations: 75.28 kB / 1.052 GB, free: 1.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.8378, allocations: 113.8 kB / 1.052 GB, free: 1.832 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.8378, allocations: 0 / 1.052 GB, free: 1.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.8379, allocations: 29.64 kB / 1.052 GB, free: 1.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.838, allocations: 215.8 kB / 1.053 GB, free: 1.555 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.8381, allocations: 97.86 kB / 1.053 GB, free: 1.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.8381, allocations: 25.7 kB / 1.053 GB, free: 1.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.8382, allocations: 80.14 kB / 1.053 GB, free: 1.336 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.8382, allocations: 0 / 1.053 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.8382, allocations: 25.64 kB / 1.053 GB, free: 1.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.8383, allocations: 310.8 kB / 1.053 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-06/0.8383, allocations: 0 / 1.053 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.8384, allocations: 22.58 kB / 1.053 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.8384, allocations: 75.28 kB / 1.053 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.8384, allocations: 75.28 kB / 1.053 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.074e-05/0.8385, allocations: 37.58 kB / 1.053 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.8385, allocations: 83.28 kB / 1.053 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.8386, allocations: 83.27 kB / 1.053 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.748e-05/0.8386, allocations: 154.5 kB / 1.054 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.428e-05/0.8387, allocations: 87.33 kB / 1.054 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.364e-05/0.8387, allocations: 150.6 kB / 1.054 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.8389, allocations: 87.27 kB / 1.054 GB, free: 136 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.8389, allocations: 75.28 kB / 1.054 GB, free: 60 kB / 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.0001378/0.839, allocations: 269.9 kB / 1.054 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.8391, allocations: 116.8 kB / 1.054 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.8392, allocations: 108.3 kB / 1.054 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.8392, allocations: 176.3 kB / 1.055 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-05/0.8393, allocations: 180.2 kB / 1.055 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.588e-05/0.8394, allocations: 192.2 kB / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.8396, allocations: 397.2 kB / 1.055 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.8396, allocations: 109 kB / 1.055 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.8397, allocations: 116.9 kB / 1.056 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.955e-05/0.8397, allocations: 180.3 kB / 1.056 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.8398, allocations: 176.3 kB / 1.056 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/0.8399, allocations: 180.2 kB / 1.056 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.995e-05/0.8399, allocations: 184.3 kB / 1.056 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.84, allocations: 307.8 kB / 1.056 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.8401, allocations: 186 kB / 1.057 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.8402, allocations: 184.2 kB / 1.057 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.8403, allocations: 105 kB / 1.057 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.8404, allocations: 184.2 kB / 1.057 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.8404, allocations: 109 kB / 1.057 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.8405, allocations: 79.27 kB / 1.057 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8405, allocations: 0 / 1.057 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002543/0.8408, allocations: 4 kB / 1.057 GB, free: 12.37 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.0001365/0.8409, allocations: 174.5 kB / 1.057 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.856e-05/0.841, allocations: 4 kB / 1.057 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.841, allocations: 0 / 1.057 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.841, allocations: 3.938 kB / 1.057 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.8413, allocations: 463.6 kB / 1.058 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.8416, allocations: 172.8 kB / 1.058 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.8418, allocations: 0.6729 MB / 1.059 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.8418, allocations: 4 kB / 1.059 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.8419, allocations: 7.438 kB / 1.059 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.8419, allocations: 3.938 kB / 1.059 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of Templates: time 0.004593/0.8465, allocations: 0.4937 MB / 1.059 GB, free: 10.32 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=480 -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