Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_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.001362/0.001362, allocations: 101.7 kB / 16.4 MB, free: 6.453 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.001465/0.001465, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8955, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001728/0.8972, allocations: 0.522 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.8974, allocations: 23.2 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.8974, allocations: 0 / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.8974, allocations: 1.188 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.8976, allocations: 6.688 kB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.8976, allocations: 3.938 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.8977, allocations: 3.141 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.8977, allocations: 5.828 kB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.8978, allocations: 3.125 kB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.8978, allocations: 9.609 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.8978, allocations: 0 / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.8979, allocations: 1.156 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.8979, allocations: 0 / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.8979, allocations: 5.156 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.712e-05/0.8979, allocations: 5.953 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.898, allocations: 0.6562 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.898, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.898, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 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.0002345/0.8982, allocations: 319.3 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8982, allocations: 9.031 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.8983, allocations: 0.9375 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.8984, allocations: 162.9 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8984, allocations: 1.5 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.8984, allocations: 1.469 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.8985, allocations: 45.88 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.8985, allocations: 4.188 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8985, allocations: 3.938 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8985, allocations: 1.094 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.8986, allocations: 7.172 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.8987, allocations: 155.1 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.8987, allocations: 40.36 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.8988, allocations: 16.64 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8988, allocations: 1.938 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.8988, allocations: 36.25 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.8988, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.8989, allocations: 45.52 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.899, allocations: 78.64 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.899, allocations: 99.91 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.899, allocations: 26.83 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.014e-05/0.8991, allocations: 80.14 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.8991, allocations: 13.3 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.8991, allocations: 12.75 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.8992, allocations: 316.7 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.8992, allocations: 1.625 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.8992, allocations: 21.48 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.8992, allocations: 15.42 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8992, allocations: 0 / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.642e-05/0.8993, allocations: 49.05 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8993, allocations: 6.266 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8993, allocations: 7.875 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8994, allocations: 5.25 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.8994, allocations: 3.828 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.8994, allocations: 0.9375 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.8995, allocations: 1.469 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.8995, allocations: 0.8125 kB / 1.091 GB, free: 3.453 MB / 0.8575 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.668e-05/0.8995, allocations: 108.7 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.8995, allocations: 5.812 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.8997, allocations: 60.52 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8997, allocations: 5.062 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8997, allocations: 1.75 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8997, allocations: 0 / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.053e-05/0.8997, allocations: 147.4 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8997, allocations: 0 / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.8998, allocations: 4.172 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8998, allocations: 4.984 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.8998, allocations: 5 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8998, allocations: 1.984 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8998, allocations: 4.062 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.8999, allocations: 70.48 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.8999, allocations: 79.09 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.8999, allocations: 5.812 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.9, allocations: 0.9062 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.9, allocations: 5.688 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.9, allocations: 5.859 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.9, allocations: 76.34 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9, allocations: 0 / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001823/0.9002, allocations: 2.312 kB / 1.091 GB, free: 2.82 MB / 0.8575 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 9.274e-05/0.9003, allocations: 95.08 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.9004, allocations: 12.17 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9004, allocations: 224 / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.9004, allocations: 12.64 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.9006, allocations: 2.156 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.9008, allocations: 119.1 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.9009, allocations: 0.6739 MB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.9009, allocations: 8.688 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9009, allocations: 3.938 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of Templates: time 0.00198/0.9029, allocations: 372.4 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches