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.001671/0.001671, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001577/0.001577, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.587/2.587, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 65.03 kB / 0.8694 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3012, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001886/0.3031, allocations: 0.5957 MB / 1.018 GB, free: 10.35 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.3033, allocations: 43.81 kB / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3034, allocations: 0 / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.3034, allocations: 0 / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3036, allocations: 0 / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.025e-05/0.3036, allocations: 15.98 kB / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.3037, allocations: 15.92 kB / 1.018 GB, free: 10.28 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.3038, allocations: 4 kB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.3038, allocations: 0 / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.3039, allocations: 15.86 kB / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3039, allocations: 4 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.3039, allocations: 0 / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.304, allocations: 4 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.304, allocations: 7.938 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.677e-05/0.3041, allocations: 7.969 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3041, allocations: 4 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3041, allocations: 4 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3041, allocations: 0 / 1.018 GB, free: 10.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00047/0.3046, allocations: 327.5 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3046, allocations: 16.91 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3046, allocations: 4.844 kB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3048, allocations: 172.5 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3049, allocations: 4.375 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3049, allocations: 384 / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.846e-05/0.305, allocations: 38.25 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.305, allocations: 4.172 kB / 1.019 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.305, allocations: 3.938 kB / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.305, allocations: 0 / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.305, allocations: 4 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3052, allocations: 153.7 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.3053, allocations: 26.5 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.3053, allocations: 8.922 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3053, allocations: 4 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3054, allocations: 30.56 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3054, allocations: 0 / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.3055, allocations: 49.53 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3056, allocations: 55.34 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3057, allocations: 117.8 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3057, allocations: 29.7 kB / 1.019 GB, free: 9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.3058, allocations: 88.2 kB / 1.019 GB, free: 8.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.3058, allocations: 0 / 1.019 GB, free: 8.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3058, allocations: 17.72 kB / 1.019 GB, free: 8.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.306, allocations: 310.8 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.306, allocations: 7.984 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.306, allocations: 13.72 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.3061, allocations: 29.77 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3061, allocations: 0 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.799e-05/0.3062, allocations: 49.78 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3062, allocations: 4 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3062, allocations: 7.938 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3062, allocations: 0 / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.3063, allocations: 11.94 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3063, allocations: 0 / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.3063, allocations: 0 / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3063, allocations: 4.062 kB / 1.02 GB, free: 8.43 MB / 0.795 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.925e-05/0.3064, allocations: 117.8 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.3064, allocations: 0 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3065, allocations: 57.09 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3065, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3066, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3066, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3067, allocations: 157.7 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3067, allocations: 0 / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.3068, allocations: 8.016 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3068, allocations: 4 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3068, allocations: 3.938 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3068, allocations: 0 / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3068, allocations: 0 / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3069, allocations: 73.06 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.307, allocations: 89.03 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.307, allocations: 8.031 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.307, allocations: 0 / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.307, allocations: 7.938 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3071, allocations: 0 / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.3071, allocations: 91.27 kB / 1.02 GB, free: 7.723 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3071, allocations: 0 / 1.02 GB, free: 7.723 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001756/0.3073, allocations: 0 / 1.02 GB, free: 7.723 MB / 0.795 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.0001289/0.3074, allocations: 95.78 kB / 1.02 GB, free: 7.617 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.3075, allocations: 27.92 kB / 1.02 GB, free: 7.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3075, allocations: 0 / 1.02 GB, free: 7.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.3076, allocations: 4 kB / 1.02 GB, free: 7.586 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3077, allocations: 0 / 1.02 GB, free: 7.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.308, allocations: 149.5 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3084, allocations: 0.6768 MB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.3084, allocations: 11.62 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3084, allocations: 4 kB / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of Templates: time 0.002088/0.3105, allocations: 0.5131 MB / 1.022 GB, free: 6.18 MB / 0.795 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches