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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00852/0.00852, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001749/0.001749, allocations: 199.4 kB / 16.68 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.91 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3253, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001704/0.3271, allocations: 0.5397 MB / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.3273, allocations: 38.05 kB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3274, allocations: 4 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.3274, allocations: 3.938 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3276, allocations: 4 kB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.3276, allocations: 7.984 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.3277, allocations: 15.92 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.3278, allocations: 0 / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.3278, allocations: 4 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.3279, allocations: 15.92 kB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3279, allocations: 0 / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.3279, allocations: 0 / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.328, allocations: 7.984 kB / 1.226 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.328, allocations: 3.938 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.867e-05/0.3281, allocations: 15.92 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3281, allocations: 0 / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3281, allocations: 0 / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3281, allocations: 3.938 kB / 1.226 GB, free: 8.574 MB / 0.9825 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.0004343/0.3285, allocations: 335.4 kB / 1.227 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3286, allocations: 12.03 kB / 1.227 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.3286, allocations: 0.9375 kB / 1.227 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3288, allocations: 176.3 kB / 1.227 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3289, allocations: 384 / 1.227 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3289, allocations: 8.375 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.991e-05/0.329, allocations: 34.23 kB / 1.227 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.329, allocations: 4.188 kB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.329, allocations: 3.938 kB / 1.227 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.329, allocations: 0 / 1.227 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.329, allocations: 0 / 1.227 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3292, allocations: 157.6 kB / 1.227 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.3292, allocations: 30.53 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.3293, allocations: 8.922 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3293, allocations: 0 / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3293, allocations: 30.56 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3293, allocations: 0 / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.3295, allocations: 49.62 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3295, allocations: 51.41 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.3296, allocations: 110 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3297, allocations: 29.7 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.3297, allocations: 88.06 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3297, allocations: 7.938 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3298, allocations: 17.67 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3299, allocations: 310.8 kB / 1.228 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.3299, allocations: 7.984 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.33, allocations: 17.72 kB / 1.228 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.33, allocations: 25.77 kB / 1.228 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.33, allocations: 0 / 1.228 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.832e-05/0.3301, allocations: 49.62 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3301, allocations: 4 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3301, allocations: 3.938 kB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3302, allocations: 7.938 kB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.3302, allocations: 0 / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3302, allocations: 8.062 kB / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.3303, allocations: 0 / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3303, allocations: 0 / 1.228 GB, free: 6.781 MB / 0.9825 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.968e-05/0.3304, allocations: 114.4 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.3304, allocations: 0 / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3305, allocations: 57.09 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3305, allocations: 256 / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3305, allocations: 3.938 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3305, allocations: 8.031 kB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3306, allocations: 157.7 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3306, allocations: 4 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.3307, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3307, allocations: 3.984 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3307, allocations: 7.938 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3307, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3307, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3309, allocations: 85.02 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3309, allocations: 85.12 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3309, allocations: 3.938 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.331, allocations: 0 / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.331, allocations: 0 / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.331, allocations: 4 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.331, allocations: 91.27 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.331, allocations: 0 / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001744/0.3312, allocations: 0 / 1.228 GB, free: 6.059 MB / 0.9825 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.0001211/0.3313, allocations: 99.34 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.3314, allocations: 19.92 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3315, allocations: 0 / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.3315, allocations: 12 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3316, allocations: 1.875 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3319, allocations: 121.3 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3322, allocations: 0.6769 MB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.3322, allocations: 8 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3322, allocations: 11.38 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3322, allocations: 0 / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of Templates: time 0.002037/0.3343, allocations: 321.1 kB / 1.23 GB, free: 4.742 MB / 0.9825 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