Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_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.00108/0.00108, allocations: 108.4 kB / 16.37 MB, free: 6.477 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.001066/0.001066, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.56 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2496, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002309/0.252, allocations: 0.5297 MB / 0.9516 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.2522, allocations: 43.88 kB / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.2523, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.2523, allocations: 3.938 kB / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.2525, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.122e-05/0.2526, allocations: 15.92 kB / 0.9517 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.2527, allocations: 11.92 kB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.2527, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.2528, allocations: 8 kB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.2529, allocations: 15.92 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2529, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.2529, allocations: 4 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.253, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.253, allocations: 11.92 kB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.528e-05/0.2531, allocations: 7.984 kB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2531, allocations: 3.938 kB / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2531, allocations: 0 / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2531, allocations: 0 / 0.9518 GB, free: 7.418 MB / 0.7325 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.0004954/0.2536, allocations: 335.5 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2537, allocations: 12.03 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2537, allocations: 4.844 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.254, allocations: 184.2 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.254, allocations: 384 / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.254, allocations: 4.375 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.2541, allocations: 30.27 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2542, allocations: 192 / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2542, allocations: 7.938 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2542, allocations: 0 / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.2542, allocations: 7.984 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.2545, allocations: 153.7 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.2545, allocations: 22.52 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.2546, allocations: 4.859 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2546, allocations: 0 / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2547, allocations: 42.61 kB / 0.9525 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2547, allocations: 0 / 0.9525 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001743/0.2549, allocations: 45.53 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2549, allocations: 55.41 kB / 0.9526 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.255, allocations: 109.8 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2551, allocations: 25.7 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.2551, allocations: 80.14 kB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.2552, allocations: 7.938 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.2552, allocations: 17.84 kB / 0.9529 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2554, allocations: 314.8 kB / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.2554, allocations: 4 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.2555, allocations: 17.72 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.2556, allocations: 21.7 kB / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2556, allocations: 0 / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.2557, allocations: 57.62 kB / 0.9533 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2557, allocations: 8 kB / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2557, allocations: 4.188 kB / 0.9533 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2558, allocations: 0 / 0.9533 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.2559, allocations: 11.94 kB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2559, allocations: 0 / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.2559, allocations: 7.891 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2559, allocations: 4 kB / 0.9533 GB, free: 5.613 MB / 0.7325 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 9.654e-05/0.256, allocations: 109.9 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2561, allocations: 0 / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.2562, allocations: 57.09 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2562, allocations: 0 / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2562, allocations: 0 / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2562, allocations: 3.984 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.2564, allocations: 157.7 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2564, allocations: 0 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.2565, allocations: 4 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2565, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2565, allocations: 7.969 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2565, allocations: 3.984 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2565, allocations: 0 / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2567, allocations: 81.08 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.2568, allocations: 81.02 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2568, allocations: 7.938 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.2569, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.2569, allocations: 12.08 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2569, allocations: 0 / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.257, allocations: 87.28 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.257, allocations: 0 / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003314/0.2574, allocations: 4 kB / 0.9539 GB, free: 4.902 MB / 0.7325 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.0001325/0.2575, allocations: 95.23 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2576, allocations: 12 kB / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2577, allocations: 4.062 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.2577, allocations: 11.98 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2579, allocations: 4 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2583, allocations: 113.9 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2587, allocations: 0.6844 MB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.2587, allocations: 0 / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.2588, allocations: 11.44 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/0.2588, allocations: 3.938 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Templates: time 0.003531/0.2624, allocations: 323.2 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches