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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00117/0.00117, allocations: 100.1 kB / 15.88 MB, free: 12 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: 197 kB / 16.79 MB, free: 6.809 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.341/1.341, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437 MB / 0.7106 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.88 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5697, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002465/0.5722, allocations: 1.303 MB / 1.019 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.5741, allocations: 1.249 MB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.5741, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.5742, allocations: 0 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.5748, allocations: 159.6 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.5749, allocations: 33.2 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.732e-05/0.575, allocations: 15.94 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.575, allocations: 4 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.575, allocations: 11.94 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4272/1.002, allocations: 28.18 MB / 1.048 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/1.002, allocations: 0 / 1.048 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/1.002, allocations: 0 / 1.048 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/1.002, allocations: 4 kB / 1.048 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/1.002, allocations: 4 kB / 1.048 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.757e-05/1.002, allocations: 11.97 kB / 1.048 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.002, allocations: 0 / 1.048 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.052e-06/1.002, allocations: 0 / 1.048 GB, free: 7.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.509e-06/1.002, allocations: 4 kB / 1.048 GB, free: 7.164 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.0003056/1.003, allocations: 319.5 kB / 1.048 GB, free: 6.805 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.003, allocations: 8.031 kB / 1.048 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/1.003, allocations: 84.2 kB / 1.048 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.003, allocations: 239.7 kB / 1.048 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/1.003, allocations: 150.9 kB / 1.048 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/1.003, allocations: 158.8 kB / 1.048 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.368e-05/1.003, allocations: 113.1 kB / 1.049 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.003, allocations: 75.28 kB / 1.049 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/1.003, allocations: 150.6 kB / 1.049 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/1.003, allocations: 150.6 kB / 1.049 GB, free: 5.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/1.003, allocations: 150.6 kB / 1.049 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/1.004, allocations: 453.9 kB / 1.049 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/1.004, allocations: 173 kB / 1.05 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/1.004, allocations: 84.14 kB / 1.05 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.004, allocations: 75.28 kB / 1.05 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/1.004, allocations: 113.8 kB / 1.05 GB, free: 4.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.004, allocations: 0 / 1.05 GB, free: 4.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.871e-05/1.004, allocations: 33.64 kB / 1.05 GB, free: 4.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.004, allocations: 207.8 kB / 1.05 GB, free: 4.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.004, allocations: 97.86 kB / 1.05 GB, free: 4.168 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.004, allocations: 25.7 kB / 1.05 GB, free: 4.137 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/1.004, allocations: 84.14 kB / 1.05 GB, free: 4.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.004, allocations: 0 / 1.05 GB, free: 4.051 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/1.004, allocations: 17.72 kB / 1.05 GB, free: 4.027 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/1.004, allocations: 318.8 kB / 1.051 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-06/1.004, allocations: 0 / 1.051 GB, free: 3.707 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/1.004, allocations: 18.58 kB / 1.051 GB, free: 3.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/1.005, allocations: 75.28 kB / 1.051 GB, free: 3.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/1.005, allocations: 75.28 kB / 1.051 GB, free: 3.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.166e-05/1.005, allocations: 37.55 kB / 1.051 GB, free: 3.488 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.005, allocations: 87.22 kB / 1.051 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.005, allocations: 79.31 kB / 1.051 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.936e-05/1.005, allocations: 158.6 kB / 1.051 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/1.005, allocations: 83.22 kB / 1.051 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.973e-05/1.005, allocations: 150.6 kB / 1.051 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.005, allocations: 87.22 kB / 1.051 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/1.005, allocations: 79.28 kB / 1.052 GB, free: 2.773 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.0001121/1.005, allocations: 264.4 kB / 1.052 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/1.005, allocations: 104.9 kB / 1.052 GB, free: 2.395 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/1.005, allocations: 112 kB / 1.052 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.524e-05/1.005, allocations: 180.3 kB / 1.052 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/1.005, allocations: 188.1 kB / 1.052 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.516e-05/1.005, allocations: 180.2 kB / 1.053 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/1.006, allocations: 401.2 kB / 1.053 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/1.006, allocations: 108.9 kB / 1.053 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/1.006, allocations: 104.9 kB / 1.053 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/1.006, allocations: 184.2 kB / 1.053 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/1.006, allocations: 180.3 kB / 1.053 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.054e-05/1.006, allocations: 176.3 kB / 1.054 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.066e-05/1.006, allocations: 188.2 kB / 1.054 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/1.006, allocations: 303.8 kB / 1.054 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/1.006, allocations: 190 kB / 1.054 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/1.006, allocations: 184.7 kB / 1.054 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.006, allocations: 108.9 kB / 1.055 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.006, allocations: 180.4 kB / 1.055 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/1.007, allocations: 109 kB / 1.055 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.95e-05/1.007, allocations: 87.25 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.007, allocations: 4 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002559/1.007, allocations: 8 kB / 1.055 GB, free: 15.08 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.0001274/1.007, allocations: 170.5 kB / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.745e-05/1.007, allocations: 4 kB / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.007, allocations: 0 / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/1.007, allocations: 0 / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.007, allocations: 0.5294 MB / 1.056 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/1.008, allocations: 200.2 kB / 1.056 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/1.008, allocations: 0.6731 MB / 1.056 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/1.008, allocations: 7.438 kB / 1.056 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/1.008, allocations: 0 / 1.056 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.001628/1.01, allocations: 459.5 kB / 1.057 GB, free: 12.98 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/jenkins1/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