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.001054/0.001054, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009725/0.009725, allocations: 170 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.39/2.39, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6872, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005622/0.6878, allocations: 259.7 kB / 0.9553 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001065/0.6879, allocations: 16.23 kB / 0.9553 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.688, allocations: 0 / 0.9553 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.688, allocations: 0 / 0.9553 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.6881, allocations: 1.219 kB / 0.9553 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.465e-06/0.6881, allocations: 1.656 kB / 0.9553 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.6882, allocations: 5.234 kB / 0.9553 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.6882, allocations: 1.5 kB / 0.9553 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.6883, allocations: 9.938 kB / 0.9553 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.6883, allocations: 9.109 kB / 0.9553 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.6883, allocations: 0 / 0.9553 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.6884, allocations: 0 / 0.9553 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.6884, allocations: 1.094 kB / 0.9553 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.6884, allocations: 30.7 kB / 0.9554 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.336e-05/0.6884, allocations: 0.9688 kB / 0.9554 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6884, allocations: 0 / 0.9554 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6884, allocations: 0 / 0.9554 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.6885, allocations: 1.031 kB / 0.9554 GB, free: 7.398 MB / 0.7169 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.0001803/0.6886, allocations: 313.8 kB / 0.9557 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6887, allocations: 13.72 kB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.6887, allocations: 4.844 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.6888, allocations: 161.3 kB / 0.9558 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.6888, allocations: 1.344 kB / 0.9558 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.6888, allocations: 1.438 kB / 0.9558 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.6889, allocations: 55.36 kB / 0.9559 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.6889, allocations: 192 / 0.9559 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.6889, allocations: 5 kB / 0.9559 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6889, allocations: 4 kB / 0.9559 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.689, allocations: 3.125 kB / 0.9559 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.6891, allocations: 156.6 kB / 0.956 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.6891, allocations: 36.41 kB / 0.9561 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.6891, allocations: 11.84 kB / 0.9561 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.6892, allocations: 5.094 kB / 0.9561 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.6892, allocations: 35.56 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6892, allocations: 1.031 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.6893, allocations: 47.12 kB / 0.9562 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.6893, allocations: 77.11 kB / 0.9563 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/0.6894, allocations: 95.67 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.6894, allocations: 35.2 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-06/0.6894, allocations: 84.08 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.6894, allocations: 10.97 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.6895, allocations: 9.719 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.6895, allocations: 315.9 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.6895, allocations: 1.281 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.6895, allocations: 16.53 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.6896, allocations: 18.53 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6896, allocations: 1.156 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.745e-05/0.6896, allocations: 45.91 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6897, allocations: 5.219 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6897, allocations: 4.938 kB / 0.9569 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6897, allocations: 1.125 kB / 0.9569 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.6898, allocations: 2.375 kB / 0.9569 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6898, allocations: 1.312 kB / 0.9569 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.6898, allocations: 4.969 kB / 0.9569 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.6898, allocations: 0.9062 kB / 0.9569 GB, free: 5.66 MB / 0.7169 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 3.968e-05/0.6898, allocations: 107.7 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.6899, allocations: 1.031 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.69, allocations: 53.62 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.69, allocations: 1.031 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.69, allocations: 4.062 kB / 0.957 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.69, allocations: 5.422 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.281e-05/0.69, allocations: 155.1 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.69, allocations: 1.281 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.6901, allocations: 6.812 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6901, allocations: 1.375 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.6901, allocations: 4.844 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6901, allocations: 3.984 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6901, allocations: 1.5 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.659e-05/0.6902, allocations: 66.84 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.6902, allocations: 82.09 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.6902, allocations: 5 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.6902, allocations: 1.062 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.6903, allocations: 1.094 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.6903, allocations: 1 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.6903, allocations: 84.28 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.62e-07/0.6903, allocations: 0.7812 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001784/0.6905, allocations: 8.938 kB / 0.9574 GB, free: 5.008 MB / 0.7169 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 7.512e-05/0.6906, allocations: 98.62 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.052e-05/0.6906, allocations: 10.77 kB / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6906, allocations: 0 / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.6906, allocations: 8 kB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.6908, allocations: 11.69 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001544/0.6909, allocations: 95.69 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.691, allocations: 0.6759 MB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.6911, allocations: 0 / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.6911, allocations: 8.688 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6911, allocations: 0 / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.001755/0.6928, allocations: 181.5 kB / 0.9585 GB, free: 3.98 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches