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.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 176.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001083/0.001083, allocations: 97.73 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003673, allocations: 11.44 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2817, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.315, allocations: 356.7 MB / 1.248 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.315, allocations: 91.89 kB / 1.249 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02894/1.344, allocations: 11.47 MB / 1.26 GB, free: 392 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.984e-06/1.344, allocations: 4 kB / 1.26 GB, free: 388 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.344, allocations: 4 kB / 1.26 GB, free: 384 kB / 0.7605 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.001246/1.346, allocations: 0.6516 MB / 1.26 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.346, allocations: 12.03 kB / 1.26 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/1.346, allocations: 135.5 kB / 1.261 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/1.347, allocations: 325.6 kB / 1.261 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.347, allocations: 11.56 kB / 1.261 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/1.347, allocations: 11.5 kB / 1.261 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/1.348, allocations: 261.1 kB / 1.261 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.348, allocations: 0 / 1.261 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/1.348, allocations: 0 / 1.261 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.348, allocations: 4 kB / 1.261 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009803/1.349, allocations: 346.1 kB / 1.261 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/1.35, allocations: 0.595 MB / 1.262 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/1.351, allocations: 205.2 kB / 1.262 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/1.352, allocations: 0.51 MB / 1.263 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.352, allocations: 34.56 kB / 1.263 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/1.352, allocations: 0 / 1.263 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.001807/1.354, allocations: 0.572 MB / 1.263 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.354, allocations: 55.34 kB / 1.263 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/1.354, allocations: 230.5 kB / 1.264 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/1.354, allocations: 33.2 kB / 1.264 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.354, allocations: 149.6 kB / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/1.354, allocations: 38.98 kB / 1.264 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/1.354, allocations: 3.125 kB / 1.264 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.354, allocations: 342.9 kB / 1.264 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/1.355, allocations: 175.7 kB / 1.264 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/1.355, allocations: 179.2 kB / 1.264 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/1.356, allocations: 174.2 kB / 1.265 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.356, allocations: 0 / 1.265 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001228/1.357, allocations: 431 kB / 1.265 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.357, allocations: 8 kB / 1.265 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.357, allocations: 0 / 1.265 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.357, allocations: 0 / 1.265 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/1.358, allocations: 87.84 kB / 1.265 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.358, allocations: 0 / 1.265 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/1.358, allocations: 67.53 kB / 1.265 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/1.358, allocations: 7.984 kB / 1.265 GB, free: 11.09 MB / 0.7761 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 () * Number of clocked 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 0.0001787/1.358, allocations: 128.6 kB / 1.265 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/1.358, allocations: 27.62 kB / 1.265 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/1.36, allocations: 449 kB / 1.266 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.36, allocations: 0 / 1.266 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.36, allocations: 3.984 kB / 1.266 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.36, allocations: 4 kB / 1.266 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/1.36, allocations: 304.4 kB / 1.266 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.36, allocations: 3.938 kB / 1.266 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/1.361, allocations: 75.61 kB / 1.266 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.361, allocations: 4 kB / 1.266 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.361, allocations: 3.984 kB / 1.266 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.361, allocations: 0 / 1.266 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.361, allocations: 0 / 1.266 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.362, allocations: 0.5004 MB / 1.267 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/1.362, allocations: 123.8 kB / 1.267 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/1.362, allocations: 0 / 1.267 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/1.362, allocations: 51.95 kB / 1.267 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.363, allocations: 15.47 kB / 1.267 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/1.363, allocations: 11.86 kB / 1.267 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002021/1.363, allocations: 180 kB / 1.267 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.8e-07/1.363, allocations: 0 / 1.267 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004727/1.363, allocations: 87.05 kB / 1.267 GB, free: 9.297 MB / 0.7761 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 () * Number of clocked 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.0004578/1.364, allocations: 193.6 kB / 1.267 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00118/1.365, allocations: 381.9 kB / 1.268 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.365, allocations: 0 / 1.268 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/1.366, allocations: 195.2 kB / 1.268 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/1.366, allocations: 31.84 kB / 1.268 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/1.367, allocations: 0.5815 MB / 1.268 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/1.368, allocations: 0.7555 MB / 1.269 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002669/1.368, allocations: 41.39 kB / 1.269 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.368, allocations: 27.23 kB / 1.269 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of SimCode: time 3.1e-07/1.368, allocations: 0 / 1.269 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of Templates: time 0.008985/1.377, allocations: 3.493 MB / 1.273 GB, free: 3.762 MB / 0.7761 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