Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001218/0.001218, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.58/1.58, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009029/0.0009029, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.242e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3544, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.567/6.922, allocations: 2.12 GB / 3.332 GB, free: 203 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/6.922, allocations: 92.81 kB / 3.333 GB, free: 202.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.263/12.18, allocations: 1.388 GB / 4.721 GB, free: 130.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/12.18, allocations: 0 / 4.721 GB, free: 130.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006916/12.19, allocations: 135.8 kB / 4.721 GB, free: 130.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.0134/12.2, allocations: 4.842 MB / 4.726 GB, free: 125.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/12.2, allocations: 12.03 kB / 4.726 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/12.21, allocations: 1.644 MB / 4.727 GB, free: 124.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/12.23, allocations: 5.828 MB / 4.733 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/12.23, allocations: 287.6 kB / 4.733 GB, free: 118 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/12.23, allocations: 375.9 kB / 4.733 GB, free: 117.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/12.24, allocations: 5.193 MB / 4.739 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-05/12.24, allocations: 7.938 kB / 4.739 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/12.24, allocations: 168 kB / 4.739 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/12.24, allocations: 167.4 kB / 4.739 GB, free: 112 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008105/12.25, allocations: 4.788 MB / 4.744 GB, free: 107.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03134/12.28, allocations: 19.23 MB / 4.762 GB, free: 87.53 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/12.29, allocations: 3.433 MB / 4.766 GB, free: 84.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/12.29, allocations: 1.706 MB / 4.767 GB, free: 82.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/12.29, allocations: 2.83 MB / 4.77 GB, free: 78.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/12.29, allocations: 1.929 MB / 4.772 GB, free: 76.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=285): time 4.88e-06/12.29, allocations: 0 / 4.772 GB, free: 76.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=285): time 0.00896/12.3, allocations: 3.802 MB / 4.776 GB, free: 73.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/12.3, allocations: 291.3 kB / 4.776 GB, free: 72.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00692/12.31, allocations: 3.325 MB / 4.779 GB, free: 69.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009732/12.31, allocations: 77.7 kB / 4.779 GB, free: 69.35 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002191/12.31, allocations: 1.969 MB / 4.781 GB, free: 67.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/12.32, allocations: 0.9704 MB / 4.782 GB, free: 66.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/12.32, allocations: 60 kB / 4.782 GB, free: 66.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002058/12.32, allocations: 432.1 kB / 4.783 GB, free: 65.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/12.32, allocations: 1.4 MB / 4.784 GB, free: 64.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/12.32, allocations: 2.047 MB / 4.786 GB, free: 62.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/12.32, allocations: 1.753 MB / 4.788 GB, free: 60.42 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/12.32, allocations: 8 kB / 4.788 GB, free: 60.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.007498/12.33, allocations: 4.078 MB / 4.792 GB, free: 56.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/12.33, allocations: 6.585 MB / 4.798 GB, free: 49.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/12.33, allocations: 15.98 kB / 4.798 GB, free: 49.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/12.33, allocations: 112.8 kB / 4.798 GB, free: 49.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/12.34, allocations: 0.7995 MB / 4.799 GB, free: 48.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/12.34, allocations: 2.151 MB / 4.801 GB, free: 45.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/12.34, allocations: 0.5238 MB / 4.802 GB, free: 45.42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009056/12.35, allocations: 163.9 kB / 4.802 GB, free: 45.26 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/12.35, allocations: 4 kB / 4.802 GB, free: 45.25 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006508/12.35, allocations: 3.729 MB / 4.805 GB, free: 41.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/12.35, allocations: 12 kB / 4.805 GB, free: 41.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/12.35, allocations: 113.5 kB / 4.806 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/12.36, allocations: 0.7956 MB / 4.806 GB, free: 40.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/12.36, allocations: 1.562 MB / 4.808 GB, free: 38.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/12.36, allocations: 492.8 kB / 4.808 GB, free: 38.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006515/12.36, allocations: 155.9 kB / 4.808 GB, free: 38.23 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009767/12.37, allocations: 292.8 kB / 4.809 GB, free: 37.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/12.37, allocations: 395.1 kB / 4.809 GB, free: 37.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009847/12.38, allocations: 4.708 MB / 4.814 GB, free: 32.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/12.38, allocations: 28 kB / 4.814 GB, free: 32.73 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/12.38, allocations: 0 / 4.814 GB, free: 32.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006407/12.38, allocations: 3.665 MB / 4.817 GB, free: 28.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/12.4, allocations: 9.502 MB / 4.827 GB, free: 19.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/12.4, allocations: 0 / 4.827 GB, free: 19.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/12.4, allocations: 0.6242 MB / 4.827 GB, free: 18.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/12.41, allocations: 0.6444 MB / 4.828 GB, free: 18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005188/12.41, allocations: 99.81 kB / 4.828 GB, free: 17.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/12.41, allocations: 7.49 MB / 4.835 GB, free: 10.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/12.41, allocations: 3.984 kB / 4.835 GB, free: 10.01 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/12.42, allocations: 6.208 MB / 4.841 GB, free: 3.684 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/12.43, allocations: 1.1 MB / 4.842 GB, free: 2.559 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/12.43, allocations: 56 kB / 4.842 GB, free: 2.504 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00428/12.43, allocations: 323.4 kB / 4.843 GB, free: 2.188 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/12.43, allocations: 186.1 kB / 4.843 GB, free: 2.004 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/12.43, allocations: 139.9 kB / 4.843 GB, free: 1.867 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.6964/13.13, allocations: 2.61 MB / 4.846 GB, free: 233.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.21e-07/13.13, allocations: 0.9062 kB / 4.846 GB, free: 233.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01105/13.14, allocations: 2.741 MB / 4.848 GB, free: 233.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003713/13.14, allocations: 1.652 MB / 4.85 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01197/13.16, allocations: 5.822 MB / 4.856 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/13.16, allocations: 4.094 kB / 4.856 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/13.16, allocations: 1.942 MB / 4.857 GB, free: 232.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/13.17, allocations: 1.941 MB / 4.859 GB, free: 232.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/13.19, allocations: 8.153 MB / 4.867 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/13.19, allocations: 3.191 MB / 4.87 GB, free: 230.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01185/13.2, allocations: 3.559 MB / 4.874 GB, free: 230.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/13.2, allocations: 349.8 kB / 4.874 GB, free: 230.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.723e-06/13.2, allocations: 0 / 4.874 GB, free: 230.5 MB / 1.151 GB Notification: Performance of Templates: time 0.1434/13.35, allocations: 99.08 MB / 4.971 GB, free: 226.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches