Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 249.3 MB / 261.8 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 176.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 90.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.011e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8803/1.091, allocations: 356.6 MB / 1.24 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.092, allocations: 88 kB / 1.24 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5272/1.619, allocations: 11.41 MB / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/1.619, allocations: 0 / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.669e-05/1.619, allocations: 4.438 kB / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001097/1.62, allocations: 0.6052 MB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.62, allocations: 9.312 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/1.621, allocations: 134.7 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/1.622, allocations: 334.9 kB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.622, allocations: 8.281 kB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/1.622, allocations: 14.34 kB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/1.622, allocations: 151.4 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.622, allocations: 1.078 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.622, allocations: 4.031 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.622, allocations: 4.156 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/1.623, allocations: 143.9 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/1.624, allocations: 0.6015 MB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.624, allocations: 103.3 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.625, allocations: 90.48 kB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/1.625, allocations: 0.5147 MB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.625, allocations: 31.72 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.625, allocations: 0 / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004765/1.626, allocations: 204.8 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.626, allocations: 54.09 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/1.626, allocations: 231.9 kB / 1.254 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/1.626, allocations: 34.05 kB / 1.254 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/1.626, allocations: 149 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/1.626, allocations: 46.28 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/1.626, allocations: 1.312 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/1.626, allocations: 340.7 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/1.627, allocations: 77.66 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.627, allocations: 74.41 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/1.627, allocations: 75.58 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.627, allocations: 0.9375 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004146/1.627, allocations: 233.6 kB / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.627, allocations: 6.125 kB / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.627, allocations: 0 / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.627, allocations: 1.125 kB / 1.255 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/1.628, allocations: 80.3 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.628, allocations: 4.406 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/1.628, allocations: 63.8 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/1.628, allocations: 8.062 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.215e-05/1.628, allocations: 115.6 kB / 1.256 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/1.628, allocations: 24.98 kB / 1.256 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/1.629, allocations: 238.5 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.629, allocations: 5.656 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.629, allocations: 1.641 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.629, allocations: 4.594 kB / 1.256 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/1.629, allocations: 309.3 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.629, allocations: 0 / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/1.63, allocations: 75.05 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.63, allocations: 3.625 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/1.63, allocations: 12.39 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.63, allocations: 1.469 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.63, allocations: 0.5156 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/1.63, allocations: 309.4 kB / 1.257 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.63, allocations: 124.4 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/1.63, allocations: 3.031 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/1.631, allocations: 53.48 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/1.631, allocations: 18.53 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.631, allocations: 5.766 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001666/1.631, allocations: 184.4 kB / 1.257 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.631, allocations: 5.062 kB / 1.257 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003852/1.631, allocations: 82.53 kB / 1.257 GB, free: 303.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0003204/1.632, allocations: 185.4 kB / 1.257 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003902/1.632, allocations: 177.5 kB / 1.257 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.632, allocations: 7.594 kB / 1.257 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/1.632, allocations: 101.4 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.633, allocations: 31.86 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/1.633, allocations: 299 kB / 1.258 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/1.634, allocations: 0.7538 MB / 1.259 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002669/1.634, allocations: 49.17 kB / 1.259 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.634, allocations: 25.36 kB / 1.259 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.634, allocations: 0 / 1.259 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.009632/1.644, allocations: 3.704 MB / 1.262 GB, free: 302 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches