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.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.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.006449/0.006449, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001554/0.001554, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.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.353/2.353, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7074, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001726/0.7092, allocations: 0.5838 MB / 0.9501 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.7093, allocations: 23.97 kB / 0.9502 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.7093, allocations: 0 / 0.9502 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.7094, allocations: 1.375 kB / 0.9502 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.7095, allocations: 5.359 kB / 0.9502 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.7095, allocations: 4 kB / 0.9502 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.943e-05/0.7096, allocations: 2.75 kB / 0.9502 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.7096, allocations: 5.312 kB / 0.9502 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.7097, allocations: 5.312 kB / 0.9502 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.7097, allocations: 5.359 kB / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.7097, allocations: 0 / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.7098, allocations: 0 / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.7098, allocations: 5.312 kB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.7098, allocations: 4 kB / 0.9502 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.653e-05/0.7098, allocations: 1.375 kB / 0.9502 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7098, allocations: 0 / 0.9502 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7098, allocations: 4 kB / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7099, allocations: 1.375 kB / 0.9502 GB, free: 8.629 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.0002428/0.7101, allocations: 307.7 kB / 0.9505 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7102, allocations: 12.23 kB / 0.9505 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.7102, allocations: 6.219 kB / 0.9505 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.949e-05/0.7103, allocations: 161.8 kB / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.7103, allocations: 384 / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.7103, allocations: 1.75 kB / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.7104, allocations: 50.67 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7104, allocations: 1.562 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.7104, allocations: 3.938 kB / 0.9507 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7104, allocations: 0 / 0.9507 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.7104, allocations: 6.734 kB / 0.9507 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.7106, allocations: 157.3 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.7106, allocations: 41.22 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.7106, allocations: 23.08 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.7106, allocations: 1.375 kB / 0.951 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.7107, allocations: 31.94 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7107, allocations: 0 / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.7108, allocations: 47.42 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.7109, allocations: 86.45 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.64e-05/0.7109, allocations: 95.22 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.7109, allocations: 29.64 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.7109, allocations: 80.14 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.711, allocations: 7.25 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.711, allocations: 16.47 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.711, allocations: 310.8 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.7111, allocations: 5.5 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.7111, allocations: 16.45 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.7111, allocations: 19.22 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7111, allocations: 0 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.008e-05/0.7112, allocations: 39.27 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7112, allocations: 10.88 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7112, allocations: 7.875 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7112, allocations: 1.375 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.7113, allocations: 6.641 kB / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7113, allocations: 1.281 kB / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.7113, allocations: 0 / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7113, allocations: 1.062 kB / 0.9517 GB, free: 6.895 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 4.451e-05/0.7114, allocations: 112.5 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.7114, allocations: 1.219 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.7115, allocations: 57.16 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7115, allocations: 0 / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7115, allocations: 1.156 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7115, allocations: 1.125 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.166e-05/0.7116, allocations: 148 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7116, allocations: 0 / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.7116, allocations: 7.281 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7116, allocations: 1 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.7116, allocations: 5.344 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7117, allocations: 4.062 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7117, allocations: 0.9062 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.912e-05/0.7117, allocations: 71.75 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.7118, allocations: 82.3 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.7118, allocations: 5.062 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.7118, allocations: 0 / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.7118, allocations: 14.08 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.7118, allocations: 1.25 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.616e-05/0.7118, allocations: 80.28 kB / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7119, allocations: 0 / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001919/0.712, allocations: 0.9375 kB / 0.9523 GB, free: 6.246 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 8.825e-05/0.7121, allocations: 99.34 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.7122, allocations: 14.62 kB / 0.9524 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7122, allocations: 0 / 0.9524 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.7122, allocations: 11.08 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.7124, allocations: 2.188 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.7126, allocations: 118.1 kB / 0.9525 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.7127, allocations: 0.6753 MB / 0.9532 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.7127, allocations: 8.594 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7127, allocations: 192 / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.001466/0.7142, allocations: 369.1 kB / 0.9535 GB, free: 5.109 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches