Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, 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.002127/0.002127, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.562/2.562, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.84 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7564, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001992/0.7584, allocations: 0.546 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.7586, allocations: 35.88 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.7587, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.7587, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.7589, allocations: 7.922 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.433e-05/0.759, allocations: 12 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.759, allocations: 7.938 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.7591, allocations: 3.984 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.7592, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.7592, allocations: 15.94 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.7593, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.7593, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.7593, allocations: 11.97 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.7594, allocations: 3.938 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.108e-05/0.7594, allocations: 7.938 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7595, allocations: 3.984 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7595, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7595, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004355/0.7599, allocations: 331.5 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.76, allocations: 12.03 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.76, allocations: 4.844 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.7602, allocations: 170.3 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.7602, allocations: 384 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.7602, allocations: 8.312 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.879e-05/0.7603, allocations: 38.25 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7603, allocations: 192 / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.7603, allocations: 3.938 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7604, allocations: 3.938 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.7604, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.7605, allocations: 153.7 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.7606, allocations: 18.61 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.7606, allocations: 16.84 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.7606, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.7607, allocations: 34.56 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.7607, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.7608, allocations: 45.62 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7609, allocations: 51.41 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.7609, allocations: 113.8 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.761, allocations: 25.7 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.761, allocations: 80.14 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.761, allocations: 3.906 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.7611, allocations: 21.7 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.7612, allocations: 315 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7612, allocations: 7.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.7612, allocations: 17.7 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.7612, allocations: 21.72 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7613, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.384e-05/0.7613, allocations: 53.69 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7613, allocations: 4 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7614, allocations: 7.875 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7614, allocations: 4 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.7614, allocations: 3.984 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.7615, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.7615, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7615, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.101e-05/0.7616, allocations: 109.8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.7616, allocations: 7.969 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.7617, allocations: 65.02 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7617, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7617, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7617, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.7618, allocations: 157.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7618, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.7619, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.7619, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.7619, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7619, allocations: 4.031 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7619, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.762, allocations: 77.05 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.7621, allocations: 88.98 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.7621, allocations: 3.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.7621, allocations: 8.219 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.7621, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7622, allocations: 12.09 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.7622, allocations: 83.28 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7622, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001736/0.7624, allocations: 7.984 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 9.395e-05/0.7625, allocations: 95.25 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.7626, allocations: 11.98 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7626, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.7626, allocations: 12.06 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.7628, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.763, allocations: 113.9 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.7632, allocations: 0.6807 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.7633, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.7633, allocations: 15.42 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7633, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.002057/0.7654, allocations: 309 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches