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.001021/0.001021, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007624/0.007624, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.701/2.701, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8.281 kB / 0.8728 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6718, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007546/0.6726, allocations: 268.5 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001801/0.6728, allocations: 39.8 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.6729, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.6729, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.6731, allocations: 8 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.425e-05/0.6732, allocations: 15.92 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.6732, allocations: 15.92 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.6733, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.6733, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.6734, allocations: 15.92 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.6735, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.6735, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.6735, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.6736, allocations: 37.62 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.578e-05/0.6736, allocations: 7.984 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6737, allocations: 4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6737, allocations: 7.938 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.6737, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.7794 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.0004311/0.6741, allocations: 319.5 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6742, allocations: 16.02 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.6742, allocations: 4.875 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.6744, allocations: 170.3 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.6744, allocations: 4.375 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.6745, allocations: 4.375 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.441e-05/0.6746, allocations: 34.25 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6746, allocations: 192 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6746, allocations: 7.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6746, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.6746, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.6748, allocations: 153.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.6749, allocations: 26.53 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.6749, allocations: 8.922 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.675, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.675, allocations: 30.56 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.675, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001705/0.6752, allocations: 53.56 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.6752, allocations: 51.41 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.6753, allocations: 113.8 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6754, allocations: 25.7 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.6754, allocations: 84.27 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.6755, allocations: 7.906 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.6755, allocations: 9.719 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6756, allocations: 314.8 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.6757, allocations: 3.984 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.6757, allocations: 13.72 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.6758, allocations: 29.77 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.6758, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.577e-05/0.6759, allocations: 49.62 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6759, allocations: 11.94 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6759, allocations: 3.938 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.6759, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.676, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.676, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.6761, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.6761, allocations: 4 kB / 1.025 GB, free: 13.69 MB / 0.7794 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.065e-05/0.6762, allocations: 114.4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.6762, allocations: 11.92 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.6763, allocations: 53.09 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6764, allocations: 3.984 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6764, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6764, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.6765, allocations: 157.8 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6765, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.6766, allocations: 12.03 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.6766, allocations: 3.984 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6766, allocations: 3.938 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6767, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6767, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.6768, allocations: 77.06 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.6769, allocations: 81.09 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.6769, allocations: 4.031 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.205e-05/0.677, allocations: 8.031 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.677, allocations: 4 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.677, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.6771, allocations: 87.27 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6771, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003187/0.6774, allocations: 8 kB / 1.026 GB, free: 12.97 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 0.0001379/0.6775, allocations: 95.25 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.6777, allocations: 19.92 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6777, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.6777, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.6779, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.6783, allocations: 124.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.6787, allocations: 0.677 MB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.6787, allocations: 4.188 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.6788, allocations: 15.42 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.6788, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.003412/0.6822, allocations: 305 kB / 1.027 GB, free: 11.67 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