Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.008706/0.008706, allocations: 102.5 kB / 15.73 MB, free: 6 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.001956/0.001956, allocations: 194.3 kB / 16.67 MB, free: 5.926 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.88 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.81, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001474/0.8115, allocations: 0.5303 MB / 1.208 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.8117, allocations: 53.7 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.8118, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.8118, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.812, allocations: 3.938 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.285e-05/0.812, allocations: 8 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.8121, allocations: 11.98 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.8121, allocations: 3.984 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.8122, allocations: 7.938 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.8123, allocations: 11.92 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.8123, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.8123, allocations: 4 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.8124, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.8124, allocations: 11.92 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.009e-05/0.8125, allocations: 11.92 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8125, allocations: 8 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8125, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8125, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 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.0004116/0.8129, allocations: 327.5 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8129, allocations: 12.03 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.813, allocations: 0.9375 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.8131, allocations: 180.1 kB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.8132, allocations: 8.312 kB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.8132, allocations: 384 / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/0.8133, allocations: 38.25 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8133, allocations: 3.938 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.8133, allocations: 3.938 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8133, allocations: 0 / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.8133, allocations: 7.984 kB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.8135, allocations: 153.7 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.656e-05/0.8135, allocations: 14.58 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.8135, allocations: 16.92 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.8136, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.8136, allocations: 34.56 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.8136, allocations: 0 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.8137, allocations: 53.55 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.8138, allocations: 51.41 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.8139, allocations: 109.8 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.8139, allocations: 25.83 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.8139, allocations: 88.14 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.814, allocations: 3.906 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.814, allocations: 13.72 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8141, allocations: 318.8 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.8141, allocations: 4 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.8142, allocations: 13.72 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.8142, allocations: 33.7 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8142, allocations: 0 / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.647e-05/0.8143, allocations: 45.62 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.8143, allocations: 7.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8143, allocations: 4 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.8143, allocations: 3.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.8144, allocations: 4 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.8144, allocations: 0 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.8144, allocations: 4.062 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.8145, allocations: 3.984 kB / 1.21 GB, free: 11.16 MB / 0.9356 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.372e-05/0.8145, allocations: 113.8 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.8145, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-05/0.8146, allocations: 49.22 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8147, allocations: 0 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8147, allocations: 3.938 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8147, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.8148, allocations: 161.7 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8148, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.8148, allocations: 4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8149, allocations: 7.875 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.8149, allocations: 0 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8149, allocations: 0 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8149, allocations: 0 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.815, allocations: 81.02 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.8151, allocations: 85.23 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.8151, allocations: 3.938 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.8151, allocations: 256 / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.8151, allocations: 4 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.8151, allocations: 4 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.8152, allocations: 91.27 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8152, allocations: 3.938 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000176/0.8154, allocations: 0 / 1.21 GB, free: 10.45 MB / 0.9356 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 8.863e-05/0.8155, allocations: 99.25 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.8155, allocations: 19.98 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8156, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.8156, allocations: 7.984 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.8157, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.816, allocations: 125.3 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.8162, allocations: 0.6807 MB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.8162, allocations: 192 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.8163, allocations: 19.38 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8163, allocations: 0 / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of Templates: time 0.001947/0.8182, allocations: 320.9 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches