Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_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.001294/0.001294, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001262/0.001262, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 69.2 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002055/0.3167, allocations: 0.5301 MB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.3168, allocations: 15.86 kB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.3169, allocations: 0 / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.3169, allocations: 0 / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3171, allocations: 3.984 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.103e-06/0.3171, allocations: 4 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.498e-05/0.3172, allocations: 15.92 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.3172, allocations: 4 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.3173, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.3173, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3173, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-06/0.3173, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.3174, allocations: 7.938 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.3174, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.532e-05/0.3174, allocations: 3.984 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3174, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3174, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3175, allocations: 4 kB / 1.019 GB, free: 10.04 MB / 0.795 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.0003589/0.3178, allocations: 319.5 kB / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3179, allocations: 12.92 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3179, allocations: 0.9375 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3181, allocations: 164.4 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3181, allocations: 384 / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3181, allocations: 4.375 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3182, allocations: 43.92 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3182, allocations: 4.125 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3182, allocations: 7.938 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3182, allocations: 0 / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.3183, allocations: 4 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.3185, allocations: 158.5 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.3186, allocations: 49.22 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.3186, allocations: 9.719 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3186, allocations: 4.062 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3186, allocations: 30.56 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3187, allocations: 0 / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.3188, allocations: 49.56 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.3189, allocations: 89.3 kB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.319, allocations: 89.86 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.319, allocations: 29.7 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.319, allocations: 80.14 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3191, allocations: 12.11 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.3191, allocations: 13.72 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3193, allocations: 310.8 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.3193, allocations: 7.938 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.3193, allocations: 17.84 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.3194, allocations: 17.72 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3194, allocations: 0 / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.804e-05/0.3194, allocations: 45.62 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3195, allocations: 4 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3195, allocations: 4.062 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3195, allocations: 8 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.3196, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3196, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.3196, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3196, allocations: 3.984 kB / 1.02 GB, free: 8.215 MB / 0.795 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 9.455e-05/0.3197, allocations: 106.5 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.3197, allocations: 7.938 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3199, allocations: 52.75 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3199, allocations: 0 / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3199, allocations: 0 / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.3199, allocations: 7.938 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3201, allocations: 153.6 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3201, allocations: 0 / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.3201, allocations: 4 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3201, allocations: 0 / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3201, allocations: 11.94 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3201, allocations: 0 / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3201, allocations: 4.062 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.3202, allocations: 69.89 kB / 1.02 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3203, allocations: 81.09 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3203, allocations: 7.938 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.3203, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.3204, allocations: 3.938 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3204, allocations: 8.031 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.3204, allocations: 79.27 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3204, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001925/0.3206, allocations: 4 kB / 1.021 GB, free: 7.52 MB / 0.795 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.0001174/0.3208, allocations: 95.25 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.3209, allocations: 8 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3209, allocations: 224 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.3209, allocations: 11.94 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.321, allocations: 0 / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.3213, allocations: 119.6 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3216, allocations: 0.6729 MB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3216, allocations: 11.38 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.3216, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of Templates: time 0.00177/0.3234, allocations: 376.1 kB / 1.022 GB, free: 6.168 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches