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.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.95 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.001509/0.001509, allocations: 178.4 kB / 491.2 MB, free: 1.551 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.739/1.739, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009292/0.000929, allocations: 95.88 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.015e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.733/7.054, allocations: 2.12 GB / 3.332 GB, free: 165.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/7.054, allocations: 90.14 kB / 3.332 GB, free: 165.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.071/12.13, allocations: 1.378 GB / 4.71 GB, free: 109 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/12.13, allocations: 0 / 4.71 GB, free: 109 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000813/12.13, allocations: 135.8 kB / 4.71 GB, free: 108.9 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.01441/12.14, allocations: 4.835 MB / 4.715 GB, free: 104 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/12.14, allocations: 8.031 kB / 4.715 GB, free: 104 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/12.15, allocations: 1.656 MB / 4.717 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01983/12.17, allocations: 5.812 MB / 4.722 GB, free: 96.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/12.17, allocations: 128 kB / 4.722 GB, free: 96.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003109/12.18, allocations: 227.9 kB / 4.723 GB, free: 96.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01222/12.19, allocations: 4.47 MB / 4.727 GB, free: 91.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/12.2, allocations: 4.654 MB / 4.731 GB, free: 86.78 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/12.2, allocations: 7.938 kB / 4.731 GB, free: 86.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/12.2, allocations: 8 kB / 4.731 GB, free: 86.77 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/12.2, allocations: 163.4 kB / 4.732 GB, free: 86.61 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.0353/12.24, allocations: 18.47 MB / 4.75 GB, free: 67.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/12.25, allocations: 3.263 MB / 4.753 GB, free: 64.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/12.25, allocations: 1.626 MB / 4.754 GB, free: 62.82 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/12.25, allocations: 2.831 MB / 4.757 GB, free: 59.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/12.25, allocations: 1.843 MB / 4.759 GB, free: 57.49 MB / 1.151 GB Notification: Performance of pre-optimization done (n=285): time 7.404e-06/12.25, allocations: 0 / 4.759 GB, free: 57.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=285): time 0.06423/12.32, allocations: 8.121 MB / 4.767 GB, free: 49.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/12.32, allocations: 287.3 kB / 4.767 GB, free: 48.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/12.33, allocations: 2.826 MB / 4.77 GB, free: 46.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009693/12.33, allocations: 33.7 kB / 4.77 GB, free: 46.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/12.33, allocations: 1.97 MB / 4.772 GB, free: 44.08 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001694/12.33, allocations: 0.9314 MB / 4.773 GB, free: 43.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/12.33, allocations: 0 / 4.773 GB, free: 43.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003658/12.33, allocations: 432.1 kB / 4.773 GB, free: 42.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/12.33, allocations: 1.341 MB / 4.775 GB, free: 41.36 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/12.34, allocations: 1.967 MB / 4.776 GB, free: 39.16 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1525/12.49, allocations: 13.42 MB / 4.79 GB, free: 25.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.119e-05/12.49, allocations: 4 kB / 4.79 GB, free: 25.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.2064/12.7, allocations: 15.53 MB / 4.805 GB, free: 10.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001398/12.7, allocations: 6.463 MB / 4.811 GB, free: 3.004 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/12.7, allocations: 20 kB / 4.811 GB, free: 2.984 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/12.7, allocations: 108.8 kB / 4.811 GB, free: 2.875 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/12.7, allocations: 0.8034 MB / 4.812 GB, free: 2.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7651/13.47, allocations: 2.085 MB / 4.814 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006406/13.47, allocations: 428 kB / 4.814 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/13.47, allocations: 162.4 kB / 4.815 GB, free: 226.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/13.47, allocations: 3.562 kB / 4.815 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1632/13.64, allocations: 15.16 MB / 4.829 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.199e-05/13.64, allocations: 15.28 kB / 4.829 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/13.64, allocations: 112.4 kB / 4.83 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/13.64, allocations: 0.7931 MB / 4.83 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/13.65, allocations: 1.496 MB / 4.832 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/13.65, allocations: 397.8 kB / 4.832 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/13.65, allocations: 156.8 kB / 4.832 GB, free: 225.2 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.001411/13.65, allocations: 186.9 kB / 4.832 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/13.66, allocations: 364.8 kB / 4.833 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06467/13.72, allocations: 9.001 MB / 4.842 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/13.72, allocations: 28.78 kB / 4.842 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/13.72, allocations: 0 / 4.842 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05905/13.78, allocations: 8.037 MB / 4.849 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06784/13.85, allocations: 13.35 MB / 4.862 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/13.85, allocations: 0 / 4.862 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/13.85, allocations: 0.635 MB / 4.863 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/13.85, allocations: 454.4 kB / 4.864 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/13.85, allocations: 67.14 kB / 4.864 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/13.86, allocations: 7.477 MB / 4.871 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/13.86, allocations: 0 / 4.871 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06241/13.92, allocations: 10.51 MB / 4.881 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/13.92, allocations: 1.052 MB / 4.882 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007652/13.92, allocations: 11.66 kB / 4.882 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/13.93, allocations: 273.3 kB / 4.882 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/13.93, allocations: 193.2 kB / 4.883 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/13.93, allocations: 136.4 kB / 4.883 GB, free: 216.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003769/13.93, allocations: 2.172 MB / 4.885 GB, free: 216.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/13.93, allocations: 0 / 4.885 GB, free: 216.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01135/13.94, allocations: 2.634 MB / 4.887 GB, free: 216 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.003181/13.94, allocations: 1.643 MB / 4.889 GB, free: 215.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008209/13.95, allocations: 5.555 MB / 4.895 GB, free: 215.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/13.95, allocations: 3.25 kB / 4.895 GB, free: 215.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/13.96, allocations: 1.878 MB / 4.896 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008504/13.96, allocations: 1.702 MB / 4.898 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/13.98, allocations: 7.922 MB / 4.906 GB, free: 213.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/13.98, allocations: 3.179 MB / 4.909 GB, free: 213.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009999/13.99, allocations: 3.401 MB / 4.912 GB, free: 213 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/13.99, allocations: 342.2 kB / 4.913 GB, free: 213 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/13.99, allocations: 0 / 4.913 GB, free: 213 MB / 1.151 GB Notification: Performance of Templates: time 0.1166/14.11, allocations: 81.39 MB / 4.992 GB, free: 207.6 MB / 1.151 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