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.154/2.154, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001156/0.001156, allocations: 180.8 kB / 487.4 MB, free: 5.07 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.441/1.441, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008633, allocations: 91.91 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.43e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.641/4.876, allocations: 2.119 GB / 3.325 GB, free: 236.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/4.877, allocations: 89.36 kB / 3.325 GB, free: 236.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.476/9.352, allocations: 1.378 GB / 4.704 GB, free: 183.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.492e-06/9.352, allocations: 0 / 4.704 GB, free: 183.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008296/9.353, allocations: 131.4 kB / 4.704 GB, free: 183.7 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.01395/9.367, allocations: 4.84 MB / 4.708 GB, free: 178.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/9.367, allocations: 8.031 kB / 4.708 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/9.379, allocations: 1.636 MB / 4.71 GB, free: 177.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/9.394, allocations: 5.833 MB / 4.716 GB, free: 171.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/9.394, allocations: 128 kB / 4.716 GB, free: 171.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/9.396, allocations: 224 kB / 4.716 GB, free: 171.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009031/9.405, allocations: 4.474 MB / 4.72 GB, free: 166.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/9.416, allocations: 4.643 MB / 4.725 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/9.416, allocations: 3.938 kB / 4.725 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009971/9.417, allocations: 8 kB / 4.725 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/9.417, allocations: 159.4 kB / 4.725 GB, free: 161.6 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.03055/9.448, allocations: 18.48 MB / 4.743 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/9.452, allocations: 3.268 MB / 4.746 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/9.454, allocations: 1.63 MB / 4.748 GB, free: 138 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/9.456, allocations: 2.822 MB / 4.751 GB, free: 134.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002673/9.459, allocations: 1.843 MB / 4.752 GB, free: 132.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=285): time 4.949e-06/9.459, allocations: 4 kB / 4.752 GB, free: 132.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=285): time 0.05928/9.518, allocations: 8.127 MB / 4.76 GB, free: 124.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/9.518, allocations: 299.2 kB / 4.761 GB, free: 124.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/9.523, allocations: 2.818 MB / 4.763 GB, free: 121.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005624/9.524, allocations: 29.7 kB / 4.763 GB, free: 121.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/9.525, allocations: 1.963 MB / 4.765 GB, free: 119.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/9.526, allocations: 0.9342 MB / 4.766 GB, free: 118.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/9.527, allocations: 0 / 4.766 GB, free: 118.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002012/9.527, allocations: 428.2 kB / 4.767 GB, free: 117.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/9.529, allocations: 1.345 MB / 4.768 GB, free: 116.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/9.531, allocations: 1.967 MB / 4.77 GB, free: 114.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1423/9.673, allocations: 13.42 MB / 4.783 GB, free: 100.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.01e-05/9.673, allocations: 4 kB / 4.783 GB, free: 100.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.146/9.819, allocations: 15.54 MB / 4.798 GB, free: 85.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/9.821, allocations: 6.455 MB / 4.805 GB, free: 78.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/9.821, allocations: 12 kB / 4.805 GB, free: 78.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/9.821, allocations: 108.8 kB / 4.805 GB, free: 78.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/9.825, allocations: 0.8112 MB / 4.805 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/9.827, allocations: 2.105 MB / 4.807 GB, free: 75.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/9.832, allocations: 429 kB / 4.808 GB, free: 74.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000938/9.833, allocations: 155.9 kB / 4.808 GB, free: 74.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/9.833, allocations: 4 kB / 4.808 GB, free: 74.45 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1463/9.98, allocations: 15.16 MB / 4.823 GB, free: 59.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/9.98, allocations: 16.19 kB / 4.823 GB, free: 59.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/9.98, allocations: 117.1 kB / 4.823 GB, free: 59.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/9.984, allocations: 0.7918 MB / 4.824 GB, free: 58.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/9.985, allocations: 1.498 MB / 4.825 GB, free: 56.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/9.99, allocations: 405.4 kB / 4.826 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006678/9.991, allocations: 155.9 kB / 4.826 GB, free: 56.14 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.001102/9.992, allocations: 176.2 kB / 4.826 GB, free: 55.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/9.993, allocations: 359.6 kB / 4.826 GB, free: 55.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06099/10.05, allocations: 9.003 MB / 4.835 GB, free: 46.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/10.05, allocations: 28 kB / 4.835 GB, free: 46.49 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/10.05, allocations: 0 / 4.835 GB, free: 46.49 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05741/10.11, allocations: 8.049 MB / 4.843 GB, free: 38.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06648/10.18, allocations: 13.35 MB / 4.856 GB, free: 24.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/10.18, allocations: 4 kB / 4.856 GB, free: 24.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/10.18, allocations: 0.6164 MB / 4.857 GB, free: 24.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/10.18, allocations: 464.1 kB / 4.857 GB, free: 23.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000459/10.18, allocations: 67.91 kB / 4.857 GB, free: 23.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/10.19, allocations: 7.464 MB / 4.864 GB, free: 15.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/10.19, allocations: 0 / 4.864 GB, free: 15.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0606/10.25, allocations: 10.53 MB / 4.875 GB, free: 5.242 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/10.25, allocations: 1.05 MB / 4.876 GB, free: 4.168 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/10.25, allocations: 15.98 kB / 4.876 GB, free: 4.152 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/10.26, allocations: 275.4 kB / 4.876 GB, free: 3.883 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/10.26, allocations: 186.1 kB / 4.876 GB, free: 3.699 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003387/10.26, allocations: 139.9 kB / 4.876 GB, free: 3.562 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00341/10.26, allocations: 2.172 MB / 4.878 GB, free: 1.402 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/10.26, allocations: 4 kB / 4.878 GB, free: 1.398 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.6268/10.89, allocations: 2.63 MB / 4.881 GB, free: 246.1 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.003948/10.89, allocations: 1.637 MB / 4.883 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01073/10.9, allocations: 5.559 MB / 4.888 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/10.9, allocations: 2.469 kB / 4.888 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/10.91, allocations: 1.866 MB / 4.89 GB, free: 245.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009154/10.91, allocations: 1.694 MB / 4.891 GB, free: 245.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/10.93, allocations: 7.928 MB / 4.899 GB, free: 244 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/10.93, allocations: 3.193 MB / 4.902 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01128/10.94, allocations: 3.396 MB / 4.906 GB, free: 243.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/10.95, allocations: 334.6 kB / 4.906 GB, free: 243.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/10.95, allocations: 3.281 kB / 4.906 GB, free: 243.1 MB / 1.151 GB Notification: Performance of Templates: time 0.1149/11.06, allocations: 81.33 MB / 4.985 GB, free: 239.6 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