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.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.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.001176/0.001176, allocations: 107.7 kB / 16.37 MB, free: 5.516 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.001077/0.001077, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.88 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001674/0.2561, allocations: 0.5268 MB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.2563, allocations: 23.91 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.2563, allocations: 0 / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.2563, allocations: 0 / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.2564, allocations: 3.938 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.2565, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.887e-05/0.2565, allocations: 7.984 kB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.2566, allocations: 4 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.2566, allocations: 8 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.2566, allocations: 3.938 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2567, allocations: 0 / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-06/0.2567, allocations: 0 / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2567, allocations: 3.984 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.2567, allocations: 3.938 kB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 3.843e-05/0.2567, allocations: 4 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2567, allocations: 3.938 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2568, allocations: 0 / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2568, allocations: 0 / 1.019 GB, free: 9.234 MB / 0.795 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.0002587/0.257, allocations: 319.5 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2571, allocations: 8.922 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2571, allocations: 4.938 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.2572, allocations: 160.4 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2572, allocations: 384 / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2572, allocations: 4.375 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.2573, allocations: 47.97 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2573, allocations: 192 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2573, allocations: 3.938 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2573, allocations: 0 / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.2574, allocations: 7.938 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.2575, allocations: 162.5 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.2576, allocations: 45.22 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.2576, allocations: 13.72 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2576, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2577, allocations: 34.56 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2577, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.2578, allocations: 49.56 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2578, allocations: 77.36 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.2579, allocations: 97.86 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2579, allocations: 25.7 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.2579, allocations: 80.14 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.258, allocations: 7.844 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.258, allocations: 21.7 kB / 1.02 GB, free: 7.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.2581, allocations: 310.8 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.2581, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.2581, allocations: 17.84 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.2582, allocations: 21.66 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2582, allocations: 0 / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.232e-05/0.2583, allocations: 45.62 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2583, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2583, allocations: 3.938 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2583, allocations: 4.125 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.2584, allocations: 7.938 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2584, allocations: 0 / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.2584, allocations: 4 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2584, allocations: 4 kB / 1.021 GB, free: 7.41 MB / 0.795 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 5.674e-05/0.2585, allocations: 106.9 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.2585, allocations: 3.984 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2586, allocations: 60.69 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2586, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2586, allocations: 4 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2586, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/0.2587, allocations: 145.7 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2587, allocations: 0 / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.2588, allocations: 4 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2588, allocations: 3.984 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2588, allocations: 3.938 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2588, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2588, allocations: 4.062 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.2589, allocations: 77.84 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.2589, allocations: 81.09 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2589, allocations: 3.938 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.259, allocations: 7.938 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.259, allocations: 0 / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.259, allocations: 8.016 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.259, allocations: 79.28 kB / 1.021 GB, free: 6.723 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.259, allocations: 0 / 1.021 GB, free: 6.723 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001818/0.2592, allocations: 0 / 1.021 GB, free: 6.723 MB / 0.795 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.429e-05/0.2593, allocations: 98.34 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.2594, allocations: 19.92 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2594, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.2594, allocations: 8.219 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2595, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.2597, allocations: 97.86 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2599, allocations: 0.669 MB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.26, allocations: 4 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.26, allocations: 7.438 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of SimCode: time 1.533e-06/0.26, allocations: 0 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of Templates: time 0.001678/0.2617, allocations: 200.9 kB / 1.023 GB, free: 5.57 MB / 0.795 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=480 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches