Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.001067/0.001067, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 183 kB / 16.92 MB, free: 6.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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437.8 MB / 0.7128 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.000419, allocations: 8 kB / 0.8735 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6647, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007546/0.6655, allocations: 268.7 kB / 1.024 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.6657, allocations: 43.8 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.6658, allocations: 7.938 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.6658, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.666, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.666, allocations: 8 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.6661, allocations: 11.92 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.6661, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.6662, allocations: 7.984 kB / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.6663, allocations: 15.92 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.6663, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.6663, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.6664, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.6664, allocations: 37.64 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.985e-05/0.6664, allocations: 3.984 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6665, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6665, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.6665, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.7794 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.0004088/0.6669, allocations: 327.5 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6669, allocations: 8.031 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.667, allocations: 4.938 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.6672, allocations: 186.2 kB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.6672, allocations: 4.375 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.6672, allocations: 384 / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.6673, allocations: 38.25 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.6673, allocations: 192 / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6673, allocations: 3.938 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6673, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.6673, allocations: 4 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.6675, allocations: 153.7 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.6675, allocations: 30.5 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.6676, allocations: 4.859 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.6676, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.6676, allocations: 34.62 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.6676, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.6678, allocations: 41.62 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6678, allocations: 51.41 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.6679, allocations: 118 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.6679, allocations: 29.64 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.668, allocations: 88.06 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.668, allocations: 7.906 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.668, allocations: 13.72 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.6681, allocations: 310.8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.6681, allocations: 4 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.6681, allocations: 25.64 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.6682, allocations: 21.72 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6682, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.136e-05/0.6683, allocations: 45.62 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6683, allocations: 4 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6683, allocations: 3.938 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6683, allocations: 7.984 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.6684, allocations: 128 / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6684, allocations: 8 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.6684, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.6685, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.7794 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.64e-05/0.6685, allocations: 110.4 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.6685, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.6686, allocations: 68.92 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6687, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.6687, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.6687, allocations: 4.031 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.6688, allocations: 153.7 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6688, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.6688, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6688, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.6689, allocations: 8.188 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6689, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6689, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.669, allocations: 81.05 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.669, allocations: 81.14 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6691, allocations: 7.922 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.6691, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.6691, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.6691, allocations: 7.984 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.6692, allocations: 91.2 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6692, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001698/0.6693, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 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.6695, allocations: 103.3 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.406e-05/0.6695, allocations: 11.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6695, allocations: 3.938 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.6696, allocations: 8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.6697, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.67, allocations: 154.5 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.6702, allocations: 0.677 MB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.6703, allocations: 7.438 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of SimCode: time 4.5e-07/0.6703, allocations: 3.938 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.001808/0.6721, allocations: 0.5036 MB / 1.028 GB, free: 11.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches