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.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.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.001327/0.001328, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00133/0.00133, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.211/2.211, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 63.75 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002024/0.2879, allocations: 0.5872 MB / 0.9503 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.2881, allocations: 43.8 kB / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2882, allocations: 0 / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.2882, allocations: 4 kB / 0.9504 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.2884, allocations: 0 / 0.9504 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.2885, allocations: 11.88 kB / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.2885, allocations: 7.984 kB / 0.9504 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.2886, allocations: 4 kB / 0.9504 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.2887, allocations: 4 kB / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.2887, allocations: 11.98 kB / 0.9504 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2888, allocations: 7.938 kB / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-06/0.2888, allocations: 0 / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.2888, allocations: 3.984 kB / 0.9504 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2889, allocations: 7.938 kB / 0.9504 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.68e-05/0.2889, allocations: 11.98 kB / 0.9505 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2889, allocations: 4 kB / 0.9505 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.289, allocations: 0 / 0.9505 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.289, allocations: 0 / 0.9505 GB, free: 8.539 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.0004868/0.2895, allocations: 331.4 kB / 0.9508 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2895, allocations: 8.031 kB / 0.9508 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2895, allocations: 8.844 kB / 0.9508 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2898, allocations: 176.6 kB / 0.951 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.2898, allocations: 4.375 kB / 0.951 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2898, allocations: 4.359 kB / 0.951 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.2899, allocations: 36.36 kB / 0.951 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2899, allocations: 192 / 0.951 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2899, allocations: 3.938 kB / 0.951 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2899, allocations: 0 / 0.951 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.2899, allocations: 8 kB / 0.951 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2901, allocations: 153.7 kB / 0.9512 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.2902, allocations: 18.52 kB / 0.9512 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.2902, allocations: 12.91 kB / 0.9512 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2902, allocations: 0 / 0.9512 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2902, allocations: 30.56 kB / 0.9512 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2902, allocations: 4 kB / 0.9512 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.2904, allocations: 53.53 kB / 0.9513 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2904, allocations: 55.34 kB / 0.9513 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.2905, allocations: 113.8 kB / 0.9514 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2906, allocations: 25.7 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.2906, allocations: 84.14 kB / 0.9515 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2906, allocations: 3.984 kB / 0.9515 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2907, allocations: 17.66 kB / 0.9516 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2908, allocations: 315 kB / 0.9519 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.2908, allocations: 8 kB / 0.9519 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.2909, allocations: 17.7 kB / 0.9519 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.2909, allocations: 17.72 kB / 0.9519 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2909, allocations: 0 / 0.9519 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.713e-05/0.291, allocations: 57.62 kB / 0.952 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.291, allocations: 4 kB / 0.952 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.291, allocations: 11.92 kB / 0.952 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2911, allocations: 0 / 0.952 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.2911, allocations: 4 kB / 0.952 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2911, allocations: 0 / 0.952 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.2912, allocations: 3.906 kB / 0.952 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2912, allocations: 0 / 0.952 GB, free: 6.746 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 8.602e-05/0.2913, allocations: 113.8 kB / 0.9521 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.2913, allocations: 4.062 kB / 0.9521 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2914, allocations: 57.14 kB / 0.9521 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2914, allocations: 0 / 0.9521 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2914, allocations: 0 / 0.9521 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2914, allocations: 0 / 0.9521 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2915, allocations: 157.9 kB / 0.9523 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2916, allocations: 0 / 0.9523 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.2916, allocations: 8 kB / 0.9523 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2916, allocations: 0 / 0.9523 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2916, allocations: 3.938 kB / 0.9523 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2917, allocations: 4.031 kB / 0.9523 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2917, allocations: 3.984 kB / 0.9523 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2918, allocations: 77.06 kB / 0.9524 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.2919, allocations: 89.03 kB / 0.9525 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2919, allocations: 3.938 kB / 0.9525 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.2919, allocations: 0 / 0.9525 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.2919, allocations: 4 kB / 0.9525 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2919, allocations: 4.094 kB / 0.9525 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.292, allocations: 91.27 kB / 0.9526 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.292, allocations: 0 / 0.9526 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001797/0.2922, allocations: 0 / 0.9526 GB, free: 6.031 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.0001161/0.2923, allocations: 95.25 kB / 0.9527 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.2924, allocations: 19.92 kB / 0.9527 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2924, allocations: 0 / 0.9527 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.2924, allocations: 12.12 kB / 0.9527 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.2926, allocations: 5.859 kB / 0.9527 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.2929, allocations: 155.2 kB / 0.9528 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2932, allocations: 0.6844 MB / 0.9535 GB, free: 5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2932, allocations: 11.44 kB / 0.9535 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2932, allocations: 0 / 0.9535 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.001974/0.2952, allocations: 0.5037 MB / 0.954 GB, free: 4.484 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 -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