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.006557/0.006557, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.00146/0.00146, allocations: 191.1 kB / 16.67 MB, free: 5.977 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: 222.9 MB / 240.4 MB, free: 4.316 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.469/2.469, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.62 kB / 0.9508 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001641/0.3212, allocations: 0.5349 MB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.3215, allocations: 47.8 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3215, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3216, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3217, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.618e-05/0.3218, allocations: 11.94 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.3219, allocations: 7.984 kB / 1.088 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.3219, allocations: 4 kB / 1.088 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.322, allocations: 7.938 kB / 1.088 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.3221, allocations: 19.91 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3221, allocations: 0 / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.3221, allocations: 4 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.3222, allocations: 3.938 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.3222, allocations: 7.938 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.647e-05/0.3223, allocations: 11.92 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.3223, allocations: 0 / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3223, allocations: 0 / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.3223, allocations: 4 kB / 1.089 GB, free: 0.8672 MB / 0.8419 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.000441/0.3228, allocations: 331.4 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3228, allocations: 12.03 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3228, allocations: 4.922 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3231, allocations: 168.4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3231, allocations: 384 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3231, allocations: 4.375 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.3232, allocations: 38.25 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3232, allocations: 4.188 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3232, allocations: 3.938 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3232, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.3233, allocations: 7.938 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.3235, allocations: 157.7 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.3236, allocations: 18.97 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.3236, allocations: 8.859 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3237, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3237, allocations: 34.56 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3237, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.3239, allocations: 53.45 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3239, allocations: 51.41 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.324, allocations: 117.8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.324, allocations: 25.7 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3241, allocations: 80.14 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3241, allocations: 128 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.3242, allocations: 21.72 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3243, allocations: 314.8 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.3243, allocations: 7.984 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.3244, allocations: 17.72 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/0.3244, allocations: 25.64 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3244, allocations: 4.062 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.206e-05/0.3245, allocations: 49.59 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3245, allocations: 8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3246, allocations: 7.875 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3246, allocations: 3.938 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.3247, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3247, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.3247, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3247, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 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.147e-05/0.3248, allocations: 113.9 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.3248, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3249, allocations: 53.16 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3249, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3249, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3249, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3251, allocations: 157.7 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3251, allocations: 0 / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.3251, allocations: 7.984 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3252, allocations: 4.031 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3252, allocations: 3.938 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3252, allocations: 4.188 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3252, allocations: 4 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3253, allocations: 77.06 kB / 1.09 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.3254, allocations: 81.09 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3254, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.3254, allocations: 8.094 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.3255, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.3255, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.3255, allocations: 91.27 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001828/0.3257, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 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.0001171/0.3258, allocations: 91.25 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.3259, allocations: 23.98 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.326, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.326, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3261, allocations: 5.719 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3264, allocations: 117.6 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3267, allocations: 0.6807 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.3267, allocations: 3.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.3267, allocations: 11.44 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3267, allocations: 128 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.00223/0.329, allocations: 321 kB / 1.092 GB, free: 13.05 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches