Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_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.007339/0.007339, allocations: 98.33 kB / 15.73 MB, free: 6.051 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.001692/0.001692, allocations: 188.9 kB / 16.67 MB, free: 5.961 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.596/2.596, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.794, allocations: 159.1 MB / 1.221 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001623/0.7956, allocations: 0.5391 MB / 1.221 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.7958, allocations: 49.64 kB / 1.221 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.7958, allocations: 0 / 1.221 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.7959, allocations: 0 / 1.221 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.796, allocations: 7.938 kB / 1.221 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/0.7961, allocations: 4 kB / 1.221 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.7961, allocations: 7.984 kB / 1.221 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.7962, allocations: 7.938 kB / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.7962, allocations: 3.984 kB / 1.221 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.7963, allocations: 23.92 kB / 1.221 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.7963, allocations: 0 / 1.221 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.7963, allocations: 0 / 1.221 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.7964, allocations: 4 kB / 1.221 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.7964, allocations: 3.938 kB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.406e-05/0.7965, allocations: 7.984 kB / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7965, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7965, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.7965, allocations: 3.938 kB / 1.221 GB, free: 1.488 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.0003917/0.7969, allocations: 335 kB / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7969, allocations: 12.03 kB / 1.222 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.7969, allocations: 4.938 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.7971, allocations: 173.3 kB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.7971, allocations: 384 / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.7971, allocations: 4.375 kB / 1.222 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.7972, allocations: 38.19 kB / 1.222 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7972, allocations: 192 / 1.222 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.7972, allocations: 3.938 kB / 1.222 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7972, allocations: 0 / 1.222 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.7973, allocations: 8 kB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.7974, allocations: 157.7 kB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.7975, allocations: 22.56 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.7975, allocations: 8.906 kB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.7975, allocations: 4 kB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7975, allocations: 30.56 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7975, allocations: 3.938 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.7976, allocations: 45.62 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7977, allocations: 59.34 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.7978, allocations: 109.8 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.7978, allocations: 25.7 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.7978, allocations: 88.12 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7978, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.7979, allocations: 21.67 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.798, allocations: 315 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.798, allocations: 7.984 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.798, allocations: 17.72 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.7981, allocations: 21.64 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7981, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.644e-05/0.7981, allocations: 53.75 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7981, allocations: 8 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7981, allocations: 3.938 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.7981, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.7982, allocations: 4.25 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7982, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.7982, allocations: 11.94 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.7982, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9512 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.812e-05/0.7983, allocations: 110.3 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.7983, allocations: 7.984 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.7984, allocations: 57.09 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7984, allocations: 4 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7984, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7984, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.7985, allocations: 153.7 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7985, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.7986, allocations: 4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.7986, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7986, allocations: 7.922 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7986, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7986, allocations: 4.031 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.7987, allocations: 77.08 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.7987, allocations: 81.09 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.7988, allocations: 7.969 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.7988, allocations: 4 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.7988, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.7988, allocations: 3.938 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.7988, allocations: 95.36 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.7988, allocations: 0 / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001775/0.799, allocations: 4 kB / 1.223 GB, free: 14.97 MB / 0.9512 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.0001019/0.7991, allocations: 95.25 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.7992, allocations: 15.92 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7992, allocations: 0 / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.7992, allocations: 4 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.7994, allocations: 12.19 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.7996, allocations: 125.3 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.7998, allocations: 0.6768 MB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.7998, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.7999, allocations: 7.438 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.7999, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.002099/0.802, allocations: 321 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches