Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.007908/0.007908, allocations: 102.4 kB / 15.73 MB, free: 6.039 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.002684/0.002684, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001757/0.3091, allocations: 0.5153 MB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.3093, allocations: 23.83 kB / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.3093, allocations: 0 / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.3094, allocations: 0 / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.3095, allocations: 4 kB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.3096, allocations: 0 / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3096, allocations: 4 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.3097, allocations: 4 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.3097, allocations: 11.92 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.3098, allocations: 4 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3098, allocations: 0 / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.3098, allocations: 0 / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3098, allocations: 7.922 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.3099, allocations: 4 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.491e-05/0.3099, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3099, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3099, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.3099, allocations: 3.938 kB / 1.208 GB, free: 9.09 MB / 0.9669 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.0003266/0.3103, allocations: 319.6 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3103, allocations: 16.62 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.3104, allocations: 0.9375 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3105, allocations: 160.4 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3105, allocations: 384 / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3105, allocations: 384 / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3106, allocations: 47.91 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3107, allocations: 192 / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3107, allocations: 7.938 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3107, allocations: 7.938 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.3107, allocations: 4 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3109, allocations: 154.5 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.311, allocations: 37.22 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.311, allocations: 13.7 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.311, allocations: 8.062 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.311, allocations: 34.56 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3111, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.3112, allocations: 45.48 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3113, allocations: 85.09 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.3114, allocations: 93.86 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3114, allocations: 30.02 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.3114, allocations: 84.14 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.3115, allocations: 3.938 kB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3115, allocations: 17.62 kB / 1.209 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3116, allocations: 310.8 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.3116, allocations: 8 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.3117, allocations: 17.7 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.3117, allocations: 17.78 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3117, allocations: 4 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.671e-05/0.3118, allocations: 41.64 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3118, allocations: 6.031 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3118, allocations: 7.922 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3118, allocations: 0 / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.3119, allocations: 4 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3119, allocations: 0 / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.3119, allocations: 8.062 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.312, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 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 6.805e-05/0.312, allocations: 105.8 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3121, allocations: 7.984 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3122, allocations: 52.69 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3122, allocations: 0 / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3122, allocations: 4 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3122, allocations: 4 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.3123, allocations: 153.7 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3123, allocations: 0 / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3124, allocations: 11.88 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3124, allocations: 0 / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3124, allocations: 3.938 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3124, allocations: 4 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3124, allocations: 0 / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8e-05/0.3125, allocations: 69.98 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.3125, allocations: 77.11 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3126, allocations: 11.92 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.3126, allocations: 0 / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.3126, allocations: 0 / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3126, allocations: 4 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.3127, allocations: 83.22 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3127, allocations: 4.125 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002011/0.3129, allocations: 0 / 1.21 GB, free: 6.578 MB / 0.9669 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 0.0001195/0.313, allocations: 95.25 kB / 1.21 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.3131, allocations: 8 kB / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3131, allocations: 0 / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.4e-05/0.3131, allocations: 11.92 kB / 1.21 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3133, allocations: 4 kB / 1.21 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.3135, allocations: 93.94 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3138, allocations: 0.6768 MB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.3138, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.3138, allocations: 7.438 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3138, allocations: 4 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of Templates: time 0.002031/0.3159, allocations: 197.1 kB / 1.211 GB, free: 5.426 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches