Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001345/0.001345, allocations: 182.7 kB / 326.5 MB, free: 2.23 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.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.001121/0.001121, allocations: 98.34 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 9.594 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2617, allocations: 106.3 MB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.166, allocations: 355.6 MB / 1.247 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.166, allocations: 90.14 kB / 1.247 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02416/1.19, allocations: 9.377 MB / 1.257 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.834e-06/1.19, allocations: 0 / 1.257 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.19, allocations: 0 / 1.257 GB, free: 3.867 MB / 0.7605 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.000817/1.191, allocations: 0.497 MB / 1.257 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.191, allocations: 15.95 kB / 1.257 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/1.191, allocations: 24.02 kB / 1.257 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/1.191, allocations: 236.9 kB / 1.257 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.192, allocations: 11.44 kB / 1.257 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.192, allocations: 0 / 1.257 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/1.192, allocations: 151.3 kB / 1.257 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.192, allocations: 0 / 1.257 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/1.192, allocations: 0 / 1.257 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/1.192, allocations: 15.94 kB / 1.257 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/1.192, allocations: 167.8 kB / 1.258 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/1.193, allocations: 444.8 kB / 1.258 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/1.194, allocations: 185 kB / 1.258 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.194, allocations: 7.984 kB / 1.258 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.194, allocations: 38.55 kB / 1.258 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/1.194, allocations: 0 / 1.258 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.00081/1.195, allocations: 314.3 kB / 1.259 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.195, allocations: 59.34 kB / 1.259 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/1.195, allocations: 188.9 kB / 1.259 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.195, allocations: 29.7 kB / 1.259 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/1.195, allocations: 128.5 kB / 1.259 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/1.195, allocations: 38.98 kB / 1.259 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.195, allocations: 7.312 kB / 1.259 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.195, allocations: 329.6 kB / 1.259 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/1.195, allocations: 90.38 kB / 1.259 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/1.196, allocations: 78.06 kB / 1.259 GB, free: 1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/1.196, allocations: 97.69 kB / 1.26 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.196, allocations: 0 / 1.26 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005181/1.196, allocations: 227.4 kB / 1.26 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.196, allocations: 4 kB / 1.26 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.196, allocations: 0 / 1.26 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.196, allocations: 3.953 kB / 1.26 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/1.197, allocations: 47.89 kB / 1.26 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.197, allocations: 0 / 1.26 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/1.197, allocations: 23.2 kB / 1.26 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.197, allocations: 4 kB / 1.26 GB, free: 0.6562 MB / 0.7605 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 (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 0.0001377/1.197, allocations: 128.8 kB / 1.26 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/1.197, allocations: 19.81 kB / 1.26 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/1.197, allocations: 28.83 kB / 1.26 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.197, allocations: 0 / 1.26 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/1.197, allocations: 3.953 kB / 1.26 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.197, allocations: 0 / 1.26 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/1.198, allocations: 269.1 kB / 1.26 GB, free: 216 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.198, allocations: 4 kB / 1.26 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/1.198, allocations: 39.89 kB / 1.26 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.198, allocations: 8 kB / 1.26 GB, free: 164 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.198, allocations: 3.938 kB / 1.26 GB, free: 164 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.198, allocations: 4 kB / 1.26 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.198, allocations: 0 / 1.26 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/1.198, allocations: 329.2 kB / 1.261 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.199, allocations: 108.7 kB / 1.261 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/1.199, allocations: 4 kB / 1.261 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.199, allocations: 19.05 kB / 1.261 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/1.199, allocations: 19.91 kB / 1.261 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/1.199, allocations: 3.812 kB / 1.261 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001274/1.199, allocations: 162.4 kB / 1.261 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/1.199, allocations: 0 / 1.261 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002783/1.199, allocations: 47.22 kB / 1.261 GB, free: 15.52 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.0002816/1.2, allocations: 154.6 kB / 1.261 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005242/1.2, allocations: 180.9 kB / 1.261 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.2, allocations: 7.625 kB / 1.261 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/1.2, allocations: 101.5 kB / 1.261 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/1.201, allocations: 27.05 kB / 1.261 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/1.202, allocations: 499.4 kB / 1.262 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/1.202, allocations: 0.7352 MB / 1.263 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001842/1.202, allocations: 48.59 kB / 1.263 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/1.202, allocations: 15.44 kB / 1.263 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of SimCode: time 2.084e-06/1.202, allocations: 0 / 1.263 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of Templates: time 0.005768/1.208, allocations: 2.295 MB / 1.265 GB, free: 11.55 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches