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.001402/0.001402, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001381/0.001381, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.99 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.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 62.75 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001766/0.2803, allocations: 0.5258 MB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.2805, allocations: 47.88 kB / 0.9517 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.2806, allocations: 7.938 kB / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.2806, allocations: 0 / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2807, allocations: 3.938 kB / 0.9517 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.421e-05/0.2808, allocations: 15.91 kB / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.2809, allocations: 8 kB / 0.9517 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.2809, allocations: 4 kB / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.281, allocations: 3.984 kB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.281, allocations: 7.938 kB / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2811, allocations: 4 kB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.2811, allocations: 0 / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.2811, allocations: 4 kB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.2812, allocations: 19.91 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.767e-05/0.2812, allocations: 8 kB / 0.9518 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2812, allocations: 0 / 0.9518 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2812, allocations: 3.938 kB / 0.9518 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2813, allocations: 0 / 0.9518 GB, free: 7.438 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.0003994/0.2817, allocations: 331.5 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2817, allocations: 8.031 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2817, allocations: 4.844 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2819, allocations: 188.3 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2819, allocations: 384 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.282, allocations: 384 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.244e-05/0.282, allocations: 30.27 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.282, allocations: 4.125 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2821, allocations: 3.938 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2821, allocations: 0 / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.2821, allocations: 7.984 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2822, allocations: 153.7 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.026e-05/0.2823, allocations: 26.52 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.2823, allocations: 4.859 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.2823, allocations: 4 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2824, allocations: 38.61 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.2824, allocations: 0 / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.2825, allocations: 49.47 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2825, allocations: 51.53 kB / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.2826, allocations: 113.8 kB / 0.9527 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2827, allocations: 25.7 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.2827, allocations: 84.14 kB / 0.9528 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2827, allocations: 4 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.2828, allocations: 13.66 kB / 0.9529 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2829, allocations: 322.8 kB / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2829, allocations: 0 / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.2829, allocations: 17.72 kB / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.283, allocations: 25.7 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.283, allocations: 0 / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.14e-05/0.2831, allocations: 45.62 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.2831, allocations: 8 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2831, allocations: 3.938 kB / 0.9533 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2831, allocations: 4.125 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.2832, allocations: 4 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2832, allocations: 0 / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.2832, allocations: 7.891 kB / 0.9533 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2833, allocations: 4 kB / 0.9533 GB, free: 5.645 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 6.611e-05/0.2833, allocations: 113.8 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.2833, allocations: 4 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.634e-05/0.2834, allocations: 49.16 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2835, allocations: 32 / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2835, allocations: 7.984 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2835, allocations: 4 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2836, allocations: 153.9 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2836, allocations: 4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.2836, allocations: 4 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2837, allocations: 0 / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2837, allocations: 3.938 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2837, allocations: 0 / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2837, allocations: 0 / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2838, allocations: 89.05 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.2839, allocations: 81.02 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.2839, allocations: 3.938 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.2839, allocations: 4.031 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2839, allocations: 3.984 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2839, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.284, allocations: 87.28 kB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.284, allocations: 0 / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001826/0.2842, allocations: 8.094 kB / 0.9539 GB, free: 4.93 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 8.928e-05/0.2843, allocations: 95.23 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.2844, allocations: 19.94 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2844, allocations: 0 / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.2844, allocations: 7.984 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.2845, allocations: 7.984 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.2848, allocations: 122 kB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2851, allocations: 0.6805 MB / 0.9548 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.2851, allocations: 4 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.2851, allocations: 7.438 kB / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2851, allocations: 0 / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.002081/0.2872, allocations: 319.2 kB / 0.9551 GB, free: 3.621 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 cvode -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