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.001487/0.001487, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001468/0.001468, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 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.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8127, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001752/0.8145, allocations: 0.5156 MB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.8147, allocations: 22.16 kB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.8147, allocations: 4 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.8147, allocations: 0 / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.8149, allocations: 7.922 kB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.8149, allocations: 0 / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.8149, allocations: 8 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.815, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.815, allocations: 4 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.8151, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.8151, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.8151, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.8151, allocations: 3.984 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.8151, allocations: 15.92 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.252e-05/0.8152, allocations: 8 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8152, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8152, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8152, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 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.0002913/0.8155, allocations: 311.6 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8156, allocations: 16.86 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.8156, allocations: 0.9375 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8157, allocations: 164.4 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.8157, allocations: 4.375 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.8157, allocations: 4.359 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.8158, allocations: 39.98 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.8158, allocations: 192 / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.8159, allocations: 3.938 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8159, allocations: 4 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.8159, allocations: 11.86 kB / 1.168 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.8161, allocations: 158.5 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.8161, allocations: 37.28 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.8161, allocations: 13.66 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.8162, allocations: 4.047 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.8162, allocations: 34.56 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8162, allocations: 4 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.8163, allocations: 45.58 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.8164, allocations: 77.11 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.8165, allocations: 97.84 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.8165, allocations: 25.7 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.8165, allocations: 84.14 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.8166, allocations: 8.078 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.8166, allocations: 17.72 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8167, allocations: 314.8 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.8167, allocations: 0 / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.8168, allocations: 17.72 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.8168, allocations: 21.64 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.8168, allocations: 4.062 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.509e-05/0.8169, allocations: 41.7 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8169, allocations: 4 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8169, allocations: 7.875 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8169, allocations: 0 / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.817, allocations: 7.984 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.817, allocations: 0 / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.817, allocations: 7.906 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.8171, allocations: 0 / 1.169 GB, free: 1.395 MB / 0.8887 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 7.375e-05/0.8171, allocations: 109.9 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.8172, allocations: 4 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.8173, allocations: 52.69 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8173, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8173, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8173, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.8174, allocations: 153.7 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8174, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.8174, allocations: 8.062 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8174, allocations: 3.938 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.8175, allocations: 3.938 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.8175, allocations: 8 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8175, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.8176, allocations: 69.92 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.8176, allocations: 77.11 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.8176, allocations: 11.97 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.8177, allocations: 0 / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.8177, allocations: 3.984 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.8177, allocations: 0 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.8177, allocations: 79.28 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8177, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001942/0.8179, allocations: 4 kB / 1.17 GB, free: 0.707 MB / 0.8887 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.00011/0.818, allocations: 99.34 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.002e-05/0.8181, allocations: 11.94 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8181, allocations: 0 / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.8182, allocations: 4 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.8183, allocations: 3.984 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.8186, allocations: 115.5 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.8188, allocations: 0.6808 MB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.8189, allocations: 11.44 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8189, allocations: 3.938 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.001588/0.8205, allocations: 374.5 kB / 1.171 GB, free: 15.34 MB / 0.9044 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=480 -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