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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 187.2 kB / 498.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 0.7949 GB, free: 17.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 96.06 kB / 0.9346 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.000407, allocations: 8.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.5143, allocations: 148.4 MB / 1.368 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.5146, allocations: 67.95 kB / 1.368 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005958/0.5152, allocations: 412.2 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5152, allocations: 3.938 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5152, allocations: 3.938 kB / 1.368 GB, free: 13.1 MB / 0.8698 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.0002307/0.5154, allocations: 315.4 kB / 1.369 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5155, allocations: 8.031 kB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.5155, allocations: 0 / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.5156, allocations: 167 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5157, allocations: 8 kB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.5157, allocations: 0 / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5158, allocations: 43.41 kB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.5158, allocations: 0 / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.5158, allocations: 0 / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5158, allocations: 0 / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.5159, allocations: 7.938 kB / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.516, allocations: 162.5 kB / 1.369 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.5161, allocations: 43.89 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5161, allocations: 0 / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5161, allocations: 34.69 kB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5161, allocations: 0 / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.5163, allocations: 53.61 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.5164, allocations: 77.11 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.042e-05/0.5164, allocations: 85 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.5164, allocations: 25.7 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.5165, allocations: 84.14 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5165, allocations: 3.906 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.5165, allocations: 0 / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5166, allocations: 311.1 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.5167, allocations: 4 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.5167, allocations: 21.7 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.5167, allocations: 4 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5167, allocations: 3.953 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.725e-05/0.5168, allocations: 37.64 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5168, allocations: 4 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5168, allocations: 4.125 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5168, allocations: 7.938 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.5169, allocations: 3.984 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5169, allocations: 4 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.5169, allocations: 4 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5169, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.517, allocations: 113.8 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.517, allocations: 3.953 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.5171, allocations: 48.81 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5172, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5172, allocations: 3.938 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5172, allocations: 7.938 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.5173, allocations: 145.7 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5173, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.5173, allocations: 7.953 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5173, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.5173, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5173, allocations: 4 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5174, allocations: 8.062 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.732e-05/0.5174, allocations: 87.56 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.5175, allocations: 77.11 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.5175, allocations: 4 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.5175, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.5176, allocations: 7.969 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.5176, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.5176, allocations: 75.28 kB / 1.37 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5176, allocations: 4 kB / 1.37 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001706/0.5178, allocations: 0 / 1.37 GB, free: 10.67 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001253/0.5179, allocations: 107 kB / 1.37 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.518, allocations: 12 kB / 1.37 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.518, allocations: 4.125 kB / 1.37 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.518, allocations: 7.938 kB / 1.37 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.585e-05/0.5181, allocations: 4.734 kB / 1.37 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.5183, allocations: 95.55 kB / 1.37 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5185, allocations: 0.677 MB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.5186, allocations: 0 / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.5186, allocations: 11.56 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5186, allocations: 0 / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of Templates: time 0.001648/0.5202, allocations: 175.6 kB / 1.371 GB, free: 9.52 MB / 0.8698 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","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches