Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001145/0.001145, allocations: 191.9 kB / 0.4902 GB, free: 2.223 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.474/1.474, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0008612/0.0008614, allocations: 100.3 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.000392, allocations: 14.97 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.987/6.313, allocations: 2.12 GB / 3.349 GB, free: 268.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/6.314, allocations: 93.52 kB / 3.35 GB, free: 268.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.33/12.64, allocations: 1.391 GB / 4.741 GB, free: 227.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.315e-06/12.64, allocations: 0 / 4.741 GB, free: 227.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001026/12.64, allocations: 135 kB / 4.741 GB, free: 227.3 MB / 1.167 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.02203/12.67, allocations: 5.693 MB / 4.747 GB, free: 221.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/12.67, allocations: 12.83 kB / 4.747 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/12.68, allocations: 1.629 MB / 4.748 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/12.7, allocations: 5.867 MB / 4.754 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/12.7, allocations: 287.5 kB / 4.754 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002323/12.7, allocations: 379.9 kB / 4.755 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/12.72, allocations: 5.521 MB / 4.76 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.608e-05/12.72, allocations: 7.938 kB / 4.76 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00065/12.72, allocations: 160 kB / 4.76 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/12.72, allocations: 159.4 kB / 4.76 GB, free: 207.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/12.73, allocations: 5.404 MB / 4.766 GB, free: 202.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03118/12.76, allocations: 19.23 MB / 4.784 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/12.77, allocations: 3.803 MB / 4.788 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/12.77, allocations: 2.829 MB / 4.791 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004031/12.77, allocations: 2.146 MB / 4.793 GB, free: 173.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=285): time 4.378e-06/12.77, allocations: 0 / 4.793 GB, free: 173.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=285): time 0.01473/12.79, allocations: 6.871 MB / 4.8 GB, free: 166.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/12.79, allocations: 302.9 kB / 4.8 GB, free: 165.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/12.79, allocations: 3.36 MB / 4.803 GB, free: 162.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004503/12.8, allocations: 81.7 kB / 4.803 GB, free: 162.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/12.8, allocations: 1.969 MB / 4.805 GB, free: 160.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009121/12.8, allocations: 0.9688 MB / 4.806 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/12.8, allocations: 60 kB / 4.806 GB, free: 159.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001453/12.8, allocations: 424.2 kB / 4.807 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/12.8, allocations: 1.618 MB / 4.808 GB, free: 157.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/12.8, allocations: 2.26 MB / 4.811 GB, free: 154.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/12.81, allocations: 1.959 MB / 4.812 GB, free: 152.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/12.81, allocations: 8 kB / 4.812 GB, free: 152.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.008761/12.82, allocations: 4.507 MB / 4.817 GB, free: 148.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001118/12.82, allocations: 6.588 MB / 4.823 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/12.82, allocations: 16 kB / 4.823 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/12.82, allocations: 116.6 kB / 4.823 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/12.82, allocations: 0.7995 MB / 4.824 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/12.82, allocations: 2.182 MB / 4.826 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/12.83, allocations: 0.5198 MB / 4.827 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/12.83, allocations: 155.9 kB / 4.827 GB, free: 137.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/12.83, allocations: 4 kB / 4.827 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008096/12.84, allocations: 4.162 MB / 4.831 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/12.84, allocations: 12 kB / 4.831 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/12.84, allocations: 117 kB / 4.831 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/12.84, allocations: 0.7957 MB / 4.832 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/12.84, allocations: 1.587 MB / 4.833 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/12.85, allocations: 496.9 kB / 4.834 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/12.85, allocations: 155.9 kB / 4.834 GB, free: 129.7 MB / 1.167 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 () * Number of clocked 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.00333/12.85, allocations: 1.543 MB / 4.836 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/12.85, allocations: 395.2 kB / 4.836 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/12.87, allocations: 5.143 MB / 4.841 GB, free: 122.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/12.87, allocations: 32 kB / 4.841 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/12.87, allocations: 0 / 4.841 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008061/12.87, allocations: 4.097 MB / 4.845 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/12.89, allocations: 9.933 MB / 4.855 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/12.89, allocations: 0 / 4.855 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/12.9, allocations: 0.628 MB / 4.855 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/12.9, allocations: 0.6595 MB / 4.856 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004076/12.9, allocations: 95.91 kB / 4.856 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/12.9, allocations: 7.506 MB / 4.863 GB, free: 99.07 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/12.9, allocations: 7.969 kB / 4.863 GB, free: 99.07 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/12.92, allocations: 6.85 MB / 4.87 GB, free: 92.12 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/12.92, allocations: 1.093 MB / 4.871 GB, free: 91 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/12.92, allocations: 59.98 kB / 4.871 GB, free: 90.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004429/12.93, allocations: 323.4 kB / 4.872 GB, free: 90.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/12.93, allocations: 186.1 kB / 4.872 GB, free: 90.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004009/12.93, allocations: 139.9 kB / 4.872 GB, free: 90.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005105/12.93, allocations: 2.657 MB / 4.874 GB, free: 87.67 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.21e-07/12.93, allocations: 0 / 4.874 GB, free: 87.67 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0105/12.94, allocations: 2.743 MB / 4.877 GB, free: 84.92 MB / 1.167 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) * Number of clocked states: 0 () * 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.00452/12.95, allocations: 1.691 MB / 4.879 GB, free: 83.61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01479/12.96, allocations: 6.341 MB / 4.885 GB, free: 77.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/12.96, allocations: 4.938 kB / 4.885 GB, free: 77.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005084/12.97, allocations: 2.155 MB / 4.887 GB, free: 75.04 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/12.98, allocations: 1.949 MB / 4.889 GB, free: 73.17 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/13, allocations: 11.52 MB / 4.9 GB, free: 61.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/13, allocations: 3.18 MB / 4.903 GB, free: 58.43 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01078/13.01, allocations: 2.368 MB / 4.906 GB, free: 56.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/13.02, allocations: 419.1 kB / 4.906 GB, free: 55.73 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/13.02, allocations: 3.938 kB / 4.906 GB, free: 55.73 MB / 1.167 GB Notification: Performance of Templates: time 1.09/14.11, allocations: 90.9 MB / 4.995 GB, free: 245 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches