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.001131/0.001131, allocations: 109.1 kB / 15.99 MB, free: 6.348 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.001099/0.001099, allocations: 191.5 kB / 16.91 MB, free: 6.184 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.48 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.21/2.21, allocations: 390.3 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.08 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001766/0.2973, allocations: 0.591 MB / 0.9503 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.2974, allocations: 11.98 kB / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.2974, allocations: 0 / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.2975, allocations: 3.938 kB / 0.9504 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2976, allocations: 4 kB / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.636e-06/0.2976, allocations: 0 / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.2977, allocations: 3.938 kB / 0.9504 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.2977, allocations: 7.984 kB / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.2978, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.2978, allocations: 3.984 kB / 0.9504 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2979, allocations: 8 kB / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.2979, allocations: 0 / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.2979, allocations: 3.938 kB / 0.9504 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.2979, allocations: 3.938 kB / 0.9504 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.399e-05/0.2979, allocations: 0 / 0.9504 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2979, allocations: 0 / 0.9504 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.644e-06/0.298, allocations: 0 / 0.9504 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.298, allocations: 0 / 0.9504 GB, free: 8.578 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000323/0.2983, allocations: 323.5 kB / 0.9507 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2983, allocations: 8.031 kB / 0.9507 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.2984, allocations: 4.938 kB / 0.9507 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2985, allocations: 160.4 kB / 0.9509 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2985, allocations: 384 / 0.9509 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2985, allocations: 4.375 kB / 0.9509 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2986, allocations: 47.97 kB / 0.9509 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2987, allocations: 192 / 0.9509 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2987, allocations: 7.875 kB / 0.9509 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2987, allocations: 0 / 0.9509 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.2987, allocations: 8 kB / 0.9509 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2989, allocations: 150.5 kB / 0.9511 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.2989, allocations: 45.12 kB / 0.9511 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.299, allocations: 21.78 kB / 0.9511 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.299, allocations: 0 / 0.9511 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.299, allocations: 42.56 kB / 0.9512 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2991, allocations: 0 / 0.9512 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.2992, allocations: 49.56 kB / 0.9512 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2992, allocations: 77.11 kB / 0.9513 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.2993, allocations: 93.86 kB / 0.9514 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2993, allocations: 25.7 kB / 0.9514 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.2994, allocations: 84.52 kB / 0.9515 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.2994, allocations: 12.12 kB / 0.9515 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.2994, allocations: 9.719 kB / 0.9515 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2996, allocations: 314.8 kB / 0.9518 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.2996, allocations: 11.92 kB / 0.9518 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.2996, allocations: 13.66 kB / 0.9518 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.2997, allocations: 21.78 kB / 0.9519 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2997, allocations: 0 / 0.9519 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.065e-05/0.2997, allocations: 41.64 kB / 0.9519 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2998, allocations: 7.984 kB / 0.9519 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2998, allocations: 3.938 kB / 0.9519 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2998, allocations: 4 kB / 0.9519 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.2999, allocations: 0 / 0.9519 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2999, allocations: 4 kB / 0.9519 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.2999, allocations: 0 / 0.9519 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2999, allocations: 4.062 kB / 0.9519 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.056e-05/0.3, allocations: 109.8 kB / 0.952 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.3, allocations: 4 kB / 0.952 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3001, allocations: 52.69 kB / 0.9521 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3002, allocations: 0 / 0.9521 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3002, allocations: 0 / 0.9521 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3002, allocations: 4 kB / 0.9521 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3003, allocations: 153.7 kB / 0.9522 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3003, allocations: 0 / 0.9522 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.3003, allocations: 4 kB / 0.9522 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3003, allocations: 0 / 0.9522 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3004, allocations: 7.938 kB / 0.9522 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3004, allocations: 0 / 0.9522 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3004, allocations: 3.938 kB / 0.9522 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/0.3005, allocations: 69.98 kB / 0.9523 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.3005, allocations: 85.02 kB / 0.9524 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3006, allocations: 7.922 kB / 0.9524 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.3006, allocations: 0 / 0.9524 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.3006, allocations: 4 kB / 0.9524 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3006, allocations: 7.938 kB / 0.9524 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.3006, allocations: 75.28 kB / 0.9525 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3006, allocations: 0 / 0.9525 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001742/0.3008, allocations: 4.125 kB / 0.9525 GB, free: 6.059 MB / 0.7325 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 0.0001291/0.301, allocations: 95.25 kB / 0.9526 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.852e-05/0.3011, allocations: 15.92 kB / 0.9526 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3011, allocations: 3.938 kB / 0.9526 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.3011, allocations: 8 kB / 0.9526 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.3012, allocations: 0 / 0.9526 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3015, allocations: 129.9 kB / 0.9527 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3018, allocations: 0.6766 MB / 0.9534 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3018, allocations: 11.44 kB / 0.9534 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3018, allocations: 0 / 0.9534 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.001599/0.3034, allocations: 372 kB / 0.9538 GB, free: 4.691 MB / 0.7325 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