Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00144/0.00144, allocations: 187 kB / 17.34 MB, free: 5.719 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8853, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00159/0.8869, allocations: 0.5237 MB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001317/0.8871, allocations: 15.48 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.8871, allocations: 0 / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.8871, allocations: 0 / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.8873, allocations: 11.7 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-06/0.8873, allocations: 0 / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.8874, allocations: 3.391 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.8874, allocations: 1.797 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.8875, allocations: 6.75 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.8875, allocations: 9 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.8875, allocations: 1.25 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.8875, allocations: 0 / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.8875, allocations: 0.6562 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.8876, allocations: 3.562 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.904e-05/0.8876, allocations: 5.75 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8876, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8876, allocations: 1.156 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.8876, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002196/0.8879, allocations: 313.8 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.8879, allocations: 14.38 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.8879, allocations: 6.109 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.372e-05/0.888, allocations: 165.6 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.888, allocations: 1.469 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.888, allocations: 5.438 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.727e-05/0.8881, allocations: 45.41 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.8881, allocations: 192 / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.8882, allocations: 8.812 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8882, allocations: 0 / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.8882, allocations: 7.969 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.8883, allocations: 154.8 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.8884, allocations: 37.31 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.8884, allocations: 11.88 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.8884, allocations: 8.453 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.8884, allocations: 37.42 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8884, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.8886, allocations: 45.02 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.8886, allocations: 78.75 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.8887, allocations: 101.1 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.8887, allocations: 25.7 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.419e-05/0.8887, allocations: 84.12 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.8887, allocations: 9.5 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.8887, allocations: 13.27 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.8888, allocations: 316.6 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.8888, allocations: 1.688 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.8888, allocations: 12.73 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.8889, allocations: 23.61 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8889, allocations: 1.188 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.338e-05/0.8889, allocations: 40.2 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8889, allocations: 10.06 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.889, allocations: 3.938 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.889, allocations: 1.219 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.889, allocations: 8 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8891, allocations: 5.125 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.8891, allocations: 1.922 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8891, allocations: 1.219 kB / 1.091 GB, free: 3.426 MB / 0.8575 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 4.394e-05/0.8891, allocations: 108 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.8891, allocations: 1 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.8893, allocations: 57.56 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.8893, allocations: 4.625 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8893, allocations: 1.094 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8893, allocations: 1.875 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.845e-05/0.8893, allocations: 150.1 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8894, allocations: 0 / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.8894, allocations: 4.25 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.8894, allocations: 0.8125 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.8894, allocations: 13.17 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8894, allocations: 0.7812 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8894, allocations: 0.7812 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.975e-05/0.8895, allocations: 74.44 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.8895, allocations: 79.8 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.8895, allocations: 5 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.8896, allocations: 1.984 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.8896, allocations: 1.484 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.8896, allocations: 1.094 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.834e-05/0.8896, allocations: 84.89 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8896, allocations: 0 / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002164/0.8898, allocations: 2.188 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 8.154e-05/0.8899, allocations: 95.25 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.89, allocations: 11.61 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.89, allocations: 0 / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.89, allocations: 4.922 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.8902, allocations: 11.09 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.8904, allocations: 110.3 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.8905, allocations: 0.6741 MB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.8905, allocations: 17.23 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8905, allocations: 0 / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of Templates: time 0.001706/0.8922, allocations: 376.1 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches