Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 159.6 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 64.19 kB / 0.9819 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.8787, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00167/0.8803, allocations: 0.532 MB / 1.154 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001345/0.8805, allocations: 17.23 kB / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.8805, allocations: 0 / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.8805, allocations: 0 / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.8807, allocations: 6.594 kB / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.8807, allocations: 0 / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.8807, allocations: 6.031 kB / 1.154 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.8808, allocations: 7.984 kB / 1.154 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.8808, allocations: 2.688 kB / 1.154 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.8809, allocations: 7.938 kB / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.8809, allocations: 3.938 kB / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.8809, allocations: 2.812 kB / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.8809, allocations: 0 / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.8809, allocations: 0 / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.571e-05/0.881, allocations: 9.75 kB / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.881, allocations: 0 / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.881, allocations: 0 / 1.154 GB, free: 32.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.881, allocations: 3.938 kB / 1.154 GB, free: 32.91 MB / 1.076 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.000251/0.8813, allocations: 231.9 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.8813, allocations: 12.5 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.8813, allocations: 0.9375 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.8814, allocations: 112.6 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.8814, allocations: 384 / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.8814, allocations: 7.031 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.8815, allocations: 38.92 kB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8815, allocations: 192 / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.8815, allocations: 3.938 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8815, allocations: 2.625 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.8816, allocations: 10.08 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.8817, allocations: 116.8 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.8817, allocations: 35.75 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.8818, allocations: 16.53 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8818, allocations: 3.328 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.8818, allocations: 33.22 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8818, allocations: 0 / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.8819, allocations: 48.58 kB / 1.155 GB, free: 32.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.882, allocations: 80.44 kB / 1.155 GB, free: 32.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.882, allocations: 92.7 kB / 1.155 GB, free: 31.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.882, allocations: 29.83 kB / 1.155 GB, free: 31.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.36e-05/0.882, allocations: 80.14 kB / 1.155 GB, free: 31.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.8821, allocations: 14.42 kB / 1.155 GB, free: 31.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.8821, allocations: 9.719 kB / 1.155 GB, free: 31.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.8821, allocations: 317 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.8821, allocations: 0 / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.8822, allocations: 15.09 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.8822, allocations: 22.88 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8822, allocations: 64 / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.084e-05/0.8822, allocations: 45.09 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.8822, allocations: 5.531 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8823, allocations: 0 / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8823, allocations: 6.688 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.8823, allocations: 7.031 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8823, allocations: 3.938 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.8824, allocations: 0 / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.8824, allocations: 2.562 kB / 1.156 GB, free: 31.44 MB / 1.076 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.106e-05/0.8824, allocations: 109.1 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.8824, allocations: 6.594 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.8825, allocations: 47.64 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8825, allocations: 6.438 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8825, allocations: 3.938 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8825, allocations: 3.984 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.621e-05/0.8826, allocations: 95.83 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8826, allocations: 2.594 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.8826, allocations: 5.781 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8826, allocations: 64 / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.8826, allocations: 6.781 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8826, allocations: 4 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8826, allocations: 3.938 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.039e-05/0.8827, allocations: 80.08 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.8827, allocations: 2.844 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.8827, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.8827, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.8827, allocations: 9.781 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.8827, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.774e-05/0.8828, allocations: 81.88 kB / 1.156 GB, free: 30.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8828, allocations: 0 / 1.156 GB, free: 30.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002042/0.883, allocations: 0 / 1.156 GB, free: 30.96 MB / 1.076 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.144e-05/0.883, allocations: 94.28 kB / 1.156 GB, free: 30.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.8831, allocations: 19.27 kB / 1.156 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8831, allocations: 0 / 1.156 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.8831, allocations: 2.906 kB / 1.156 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.8833, allocations: 7.094 kB / 1.156 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.8835, allocations: 99.48 kB / 1.156 GB, free: 30.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.8835, allocations: 61.78 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.8835, allocations: 2.625 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.8835, allocations: 8.5 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.8835, allocations: 0 / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of Templates: time 0.002191/0.8857, allocations: 186.5 kB / 1.157 GB, free: 30.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.757587224943563]