Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 108 kB / 15.61 MB, free: 152 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.001382/0.001382, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6041, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001883/0.6061, allocations: 0.5181 MB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.6062, allocations: 23.84 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.6062, allocations: 0 / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.6063, allocations: 0 / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.6064, allocations: 3.938 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 1.413e-05/0.6064, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.6065, allocations: 8 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.6066, allocations: 3.984 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.6066, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.6066, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.6066, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.6067, allocations: 3.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.6067, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.6067, allocations: 11.92 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.38e-05/0.6067, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6067, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6067, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6068, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.7637 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.0003451/0.6071, allocations: 319.5 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6072, allocations: 12.03 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.6072, allocations: 0.9375 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.6073, allocations: 164.3 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.6073, allocations: 384 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.6074, allocations: 384 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6075, allocations: 51.97 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6075, allocations: 192 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.6075, allocations: 3.938 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6075, allocations: 7.984 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.6075, allocations: 7.875 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.6077, allocations: 154.5 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.6078, allocations: 41.27 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.6078, allocations: 13.72 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.6078, allocations: 3.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.6079, allocations: 34.62 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.6079, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.608, allocations: 49.56 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6081, allocations: 81.36 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.6082, allocations: 93.86 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6082, allocations: 25.7 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6082, allocations: 80.14 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.6083, allocations: 5.875 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.6083, allocations: 17.72 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6084, allocations: 314.8 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.6085, allocations: 4.125 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.6085, allocations: 17.72 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.6085, allocations: 21.66 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6085, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.72e-05/0.6086, allocations: 41.69 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6086, allocations: 4 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6086, allocations: 8.062 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6087, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.6087, allocations: 7.938 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6087, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.6088, allocations: 7.938 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.6088, allocations: 3.984 kB / 1.019 GB, free: 88 kB / 0.7637 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 8.734e-05/0.6089, allocations: 109.8 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.6089, allocations: 4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.609, allocations: 56.69 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.609, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.609, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.609, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.6092, allocations: 149.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6092, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.6092, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6092, allocations: 3.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.6092, allocations: 3.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.6092, allocations: 4.062 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6092, allocations: 7.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.6093, allocations: 65.94 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.6094, allocations: 85 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.6094, allocations: 11.94 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.6094, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.6094, allocations: 4.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.6095, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.6095, allocations: 79.28 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6095, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001888/0.6097, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 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 0.0001136/0.6098, allocations: 99.19 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.6099, allocations: 19.92 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6099, allocations: 4.219 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.6099, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.6101, allocations: 1.969 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.6103, allocations: 89.92 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.6106, allocations: 0.6729 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.6107, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.6107, allocations: 11.56 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6107, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002061/0.6128, allocations: 189 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches