Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001012/0.001012, allocations: 188 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001028/0.001027, allocations: 95.88 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.753e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3354, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.628, allocations: 375 MB / 1.585 GB, free: 10.73 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.628, allocations: 90.72 kB / 1.585 GB, free: 10.69 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02479/1.653, allocations: 9.724 MB / 1.595 GB, free: 1.602 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.154e-06/1.653, allocations: 0 / 1.595 GB, free: 1.602 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.653, allocations: 0 / 1.595 GB, free: 1.602 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006994/1.654, allocations: 466.5 kB / 1.595 GB, free: 1.102 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.654, allocations: 8.031 kB / 1.595 GB, free: 1.094 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/1.654, allocations: 19.72 kB / 1.595 GB, free: 1.074 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/1.655, allocations: 238.5 kB / 1.595 GB, free: 0.8008 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.655, allocations: 4 kB / 1.595 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/1.655, allocations: 7.984 kB / 1.595 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/1.655, allocations: 129.5 kB / 1.595 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.655, allocations: 0 / 1.595 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.655, allocations: 0 / 1.595 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/1.655, allocations: 15.94 kB / 1.595 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/1.655, allocations: 91.95 kB / 1.595 GB, free: 0.5508 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/1.656, allocations: 464.5 kB / 1.596 GB, free: 48 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/1.656, allocations: 142.5 kB / 1.596 GB, free: 15.9 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/1.656, allocations: 80.78 kB / 1.596 GB, free: 15.82 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/1.656, allocations: 8 kB / 1.596 GB, free: 15.81 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.656, allocations: 34.56 kB / 1.596 GB, free: 15.77 MB / 1.057 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/1.656, allocations: 0 / 1.596 GB, free: 15.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=13): time 0.0004199/1.657, allocations: 169.8 kB / 1.596 GB, free: 15.59 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.657, allocations: 51.41 kB / 1.596 GB, free: 15.53 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/1.657, allocations: 188.8 kB / 1.597 GB, free: 15.34 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.657, allocations: 33.64 kB / 1.597 GB, free: 15.3 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/1.657, allocations: 120.1 kB / 1.597 GB, free: 15.18 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/1.657, allocations: 39.38 kB / 1.597 GB, free: 15.14 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/1.657, allocations: 8 kB / 1.597 GB, free: 15.13 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.658, allocations: 330.8 kB / 1.597 GB, free: 14.8 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/1.658, allocations: 47.98 kB / 1.597 GB, free: 14.75 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/1.658, allocations: 52.59 kB / 1.597 GB, free: 14.7 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/1.658, allocations: 53.34 kB / 1.597 GB, free: 14.65 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.658, allocations: 0 / 1.597 GB, free: 14.65 MB / 1.057 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002843/1.658, allocations: 176.2 kB / 1.597 GB, free: 14.48 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.658, allocations: 9.203 kB / 1.597 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.658, allocations: 0 / 1.597 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.658, allocations: 8 kB / 1.597 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/1.658, allocations: 43.91 kB / 1.597 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.658, allocations: 0 / 1.597 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.659, allocations: 23.92 kB / 1.597 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/1.659, allocations: 7.984 kB / 1.597 GB, free: 14.39 MB / 1.057 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 (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 prepare postOptimizeDAE: time 8.017e-05/1.659, allocations: 109 kB / 1.598 GB, free: 14.27 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/1.659, allocations: 23.66 kB / 1.598 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/1.659, allocations: 33.91 kB / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.659, allocations: 0 / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.659, allocations: 0 / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.659, allocations: 0 / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/1.659, allocations: 261.5 kB / 1.598 GB, free: 13.91 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.659, allocations: 0 / 1.598 GB, free: 13.91 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/1.659, allocations: 47.89 kB / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.659, allocations: 0 / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.66, allocations: 4 kB / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/1.66, allocations: 3.953 kB / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.66, allocations: 0 / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/1.66, allocations: 263.7 kB / 1.598 GB, free: 13.58 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.66, allocations: 112.7 kB / 1.598 GB, free: 13.45 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/1.66, allocations: 8 kB / 1.598 GB, free: 13.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.66, allocations: 15.98 kB / 1.598 GB, free: 13.43 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/1.66, allocations: 11.94 kB / 1.598 GB, free: 13.42 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.66, allocations: 11.98 kB / 1.598 GB, free: 13.41 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001464/1.66, allocations: 149.4 kB / 1.598 GB, free: 13.26 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.763e-06/1.66, allocations: 0 / 1.598 GB, free: 13.26 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002836/1.661, allocations: 47.94 kB / 1.599 GB, free: 13.21 MB / 1.057 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.0002891/1.661, allocations: 156.2 kB / 1.599 GB, free: 13.05 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002693/1.661, allocations: 126.1 kB / 1.599 GB, free: 12.93 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.661, allocations: 4 kB / 1.599 GB, free: 12.93 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.661, allocations: 71.91 kB / 1.599 GB, free: 12.86 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/1.662, allocations: 24.97 kB / 1.599 GB, free: 12.84 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/1.662, allocations: 253.7 kB / 1.599 GB, free: 12.56 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.663, allocations: 0.7277 MB / 1.6 GB, free: 11.81 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001812/1.663, allocations: 56.66 kB / 1.6 GB, free: 11.75 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/1.663, allocations: 19.42 kB / 1.6 GB, free: 11.73 MB / 1.057 GB Notification: Performance of SimCode: time 4.81e-07/1.663, allocations: 0 / 1.6 GB, free: 11.73 MB / 1.057 GB Notification: Performance of Templates: time 0.005833/1.669, allocations: 2.499 MB / 1.602 GB, free: 9.254 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches