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.001751/0.001751, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001841/0.001841, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.547/2.547, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 72.5 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001828/0.3212, allocations: 0.523 MB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001803/0.3214, allocations: 43.8 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.3215, allocations: 4 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.3215, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.3217, allocations: 7.938 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.989e-05/0.3217, allocations: 8 kB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.3218, allocations: 7.984 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3219, allocations: 7.984 kB / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.3219, allocations: 4 kB / 1.019 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.322, allocations: 11.94 kB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.322, allocations: 3.938 kB / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.322, allocations: 0 / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.3221, allocations: 7.984 kB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.3221, allocations: 7.938 kB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.868e-05/0.3222, allocations: 11.97 kB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3222, allocations: 0 / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3222, allocations: 0 / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.3222, allocations: 3.938 kB / 1.019 GB, free: 9.945 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.0004625/0.3227, allocations: 331.5 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3227, allocations: 8.922 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3228, allocations: 8.844 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.323, allocations: 176.6 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.323, allocations: 4.375 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.323, allocations: 384 / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.3231, allocations: 34.25 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3231, allocations: 192 / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3231, allocations: 7.922 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3232, allocations: 0 / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.3232, allocations: 7.938 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3234, allocations: 153.7 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.3234, allocations: 22.58 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.3235, allocations: 12.78 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3235, allocations: 4.062 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3235, allocations: 34.56 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3235, allocations: 0 / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.3237, allocations: 53.47 kB / 1.019 GB, free: 8.934 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3237, allocations: 55.41 kB / 1.019 GB, free: 8.867 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3239, allocations: 110 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3239, allocations: 25.7 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.3239, allocations: 84.14 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.324, allocations: 4 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.324, allocations: 13.7 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3242, allocations: 314.8 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.3242, allocations: 4 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.3242, allocations: 25.7 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.3243, allocations: 17.66 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3243, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.926e-05/0.3244, allocations: 49.59 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3244, allocations: 10.34 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3244, allocations: 3.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3244, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.3245, allocations: 16.05 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3245, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.3245, allocations: 3.938 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3246, allocations: 4 kB / 1.02 GB, free: 8.145 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.633e-05/0.3246, allocations: 105.8 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3247, allocations: 4 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3248, allocations: 53.14 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3248, allocations: 0 / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3248, allocations: 8.031 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3248, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3249, allocations: 153.7 kB / 1.02 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3249, allocations: 0 / 1.02 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.325, allocations: 7.938 kB / 1.02 GB, free: 7.754 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.325, allocations: 0 / 1.02 GB, free: 7.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.325, allocations: 3.938 kB / 1.02 GB, free: 7.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.325, allocations: 0 / 1.02 GB, free: 7.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.325, allocations: 0 / 1.02 GB, free: 7.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3252, allocations: 85.11 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3252, allocations: 81.02 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3253, allocations: 7.969 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.3253, allocations: 4.234 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.3253, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3253, allocations: 7.938 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.3254, allocations: 91.27 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001837/0.3256, allocations: 4 kB / 1.021 GB, free: 7.438 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.0001242/0.3257, allocations: 102.3 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.3258, allocations: 15.92 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3258, allocations: 0 / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.3258, allocations: 8 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.326, allocations: 4 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.3263, allocations: 143.8 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3266, allocations: 0.6768 MB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.3266, allocations: 11.44 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3266, allocations: 3.938 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of Templates: time 0.00189/0.3285, allocations: 0.509 MB / 1.022 GB, free: 5.898 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