Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009783/0.0009784, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004501, allocations: 16 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6102, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002069/0.6124, allocations: 1.637 MB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003934/0.6163, allocations: 3.242 MB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.6164, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.6167, allocations: 47.75 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.617, allocations: 107.6 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.6173, allocations: 99.75 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.6176, allocations: 159.6 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.6178, allocations: 52.41 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.618, allocations: 91.61 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.6182, allocations: 99.58 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.6182, allocations: 8 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.6184, allocations: 99.84 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.6185, allocations: 43.81 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.6185, allocations: 53.58 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.6188, allocations: 175.6 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.6188, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6188, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6188, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0011/0.6199, allocations: 0.5802 MB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.62, allocations: 15.98 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.62, allocations: 23.72 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.6205, allocations: 270.4 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6205, allocations: 4 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.6205, allocations: 15.94 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.621, allocations: 181.5 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.621, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.6211, allocations: 15.89 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6211, allocations: 4 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.6218, allocations: 235.8 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.6227, allocations: 496.5 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.6231, allocations: 142.5 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008765/0.624, allocations: 0.5766 MB / 1.029 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.6241, allocations: 38.56 kB / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.6241, allocations: 0 / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001246/0.6253, allocations: 413.3 kB / 1.029 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6254, allocations: 51.41 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6256, allocations: 238.7 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.6256, allocations: 29.7 kB / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6257, allocations: 140 kB / 1.03 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.6258, allocations: 31.47 kB / 1.03 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6258, allocations: 4 kB / 1.03 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6259, allocations: 334.8 kB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.6263, allocations: 115.9 kB / 1.03 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.6267, allocations: 119.8 kB / 1.03 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.627, allocations: 111.9 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.627, allocations: 0 / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008047/0.6279, allocations: 301.8 kB / 1.031 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6279, allocations: 8 kB / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6279, allocations: 0 / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.6279, allocations: 0 / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.6282, allocations: 63.94 kB / 1.031 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6283, allocations: 0 / 1.031 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6285, allocations: 39.91 kB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.6285, allocations: 11.94 kB / 1.031 GB, free: 6.277 MB / 0.7794 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 (11): * Single equations (assignments): 11 * 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.0001153/0.6286, allocations: 121.8 kB / 1.031 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.6287, allocations: 19.72 kB / 1.031 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009075/0.6296, allocations: 331.1 kB / 1.031 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.6296, allocations: 4 kB / 1.031 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.6296, allocations: 0 / 1.031 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.6296, allocations: 0 / 1.031 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.63, allocations: 281.4 kB / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.63, allocations: 4 kB / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.6303, allocations: 51.94 kB / 1.032 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.6303, allocations: 8 kB / 1.032 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.6303, allocations: 4 kB / 1.032 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.6303, allocations: 0 / 1.032 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6303, allocations: 3.938 kB / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.6312, allocations: 407 kB / 1.032 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6313, allocations: 116.8 kB / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6313, allocations: 0 / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.6316, allocations: 39.95 kB / 1.032 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.6317, allocations: 15.97 kB / 1.032 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.6317, allocations: 7.984 kB / 1.032 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001436/0.6318, allocations: 166 kB / 1.033 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6318, allocations: 0 / 1.033 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003219/0.6322, allocations: 59.89 kB / 1.033 GB, free: 4.57 MB / 0.7794 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 (11): * Single equations (assignments): 11 * 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.000219/0.6324, allocations: 143.2 kB / 1.033 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007829/0.6332, allocations: 255.8 kB / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6332, allocations: 0 / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.6336, allocations: 139.8 kB / 1.033 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.6339, allocations: 25.06 kB / 1.033 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.6347, allocations: 496.9 kB / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.635, allocations: 0.7473 MB / 1.034 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.6352, allocations: 28.86 kB / 1.034 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.6353, allocations: 19.42 kB / 1.034 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6353, allocations: 0 / 1.034 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.005029/0.6403, allocations: 2.324 MB / 1.037 GB, free: 384 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches