Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.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_9_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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 99.86 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.0009851/0.0009852, allocations: 177.3 kB / 15.94 MB, free: 228 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.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004136, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7633, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001655/0.765, allocations: 1.539 MB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.7679, allocations: 3.037 MB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.768, allocations: 1.375 kB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.7681, allocations: 44.22 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.7685, allocations: 129.3 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.7685, allocations: 18.64 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.7687, allocations: 122.9 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.7688, allocations: 15.22 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.769, allocations: 73.38 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.7691, allocations: 77.17 kB / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.7691, allocations: 4.562 kB / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.7692, allocations: 20.98 kB / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.7692, allocations: 29.33 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.7693, allocations: 58.14 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.7694, allocations: 114.3 kB / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.7694, allocations: 1.5 kB / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7694, allocations: 0 / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.7694, allocations: 0 / 0.9587 GB, free: 3.984 MB / 0.7169 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.0007263/0.7702, allocations: 0.4944 MB / 0.9591 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7702, allocations: 9.438 kB / 0.9591 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.7703, allocations: 20.06 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.7706, allocations: 241.1 kB / 0.9594 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7706, allocations: 5.375 kB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.7706, allocations: 2.75 kB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.7709, allocations: 151.4 kB / 0.9595 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7709, allocations: 0 / 0.9595 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.771, allocations: 3.953 kB / 0.9596 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.771, allocations: 12.25 kB / 0.9596 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.7714, allocations: 159.6 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.7721, allocations: 463.3 kB / 0.9602 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.7725, allocations: 182 kB / 0.9603 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7725, allocations: 2.25 kB / 0.9603 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.7725, allocations: 31.75 kB / 0.9604 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.7725, allocations: 0 / 0.9604 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008015/0.7733, allocations: 321.5 kB / 0.9607 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.7734, allocations: 53.41 kB / 0.9607 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.7735, allocations: 213.5 kB / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.7736, allocations: 27.08 kB / 0.961 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.7736, allocations: 132.2 kB / 0.9611 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.7737, allocations: 44.84 kB / 0.9611 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.7737, allocations: 4 kB / 0.9611 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.7737, allocations: 332.3 kB / 0.9614 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.774, allocations: 82.69 kB / 0.9615 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.7742, allocations: 86.19 kB / 0.9616 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.7744, allocations: 84.94 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7744, allocations: 0.8438 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005034/0.7749, allocations: 240.7 kB / 0.9619 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7749, allocations: 5.188 kB / 0.9619 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.775, allocations: 0 / 0.9619 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.775, allocations: 4.938 kB / 0.9619 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.7752, allocations: 39.56 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7753, allocations: 4.984 kB / 0.962 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.7754, allocations: 20.2 kB / 0.962 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.7754, allocations: 2.5 kB / 0.962 GB, free: 1.371 MB / 0.7169 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 8.175e-05/0.7755, allocations: 134.9 kB / 0.9621 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.7756, allocations: 24.52 kB / 0.9621 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.7756, allocations: 27.06 kB / 0.9622 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7756, allocations: 5.047 kB / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7757, allocations: 0.875 kB / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7757, allocations: 0 / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.7759, allocations: 253.8 kB / 0.9624 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7759, allocations: 0 / 0.9624 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.7761, allocations: 39.81 kB / 0.9624 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7761, allocations: 4.766 kB / 0.9625 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.7762, allocations: 13.02 kB / 0.9625 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7762, allocations: 1.156 kB / 0.9625 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7762, allocations: 0 / 0.9625 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.7767, allocations: 333 kB / 0.9628 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.7768, allocations: 111.9 kB / 0.9629 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.7768, allocations: 1.031 kB / 0.9629 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.777, allocations: 27.62 kB / 0.9629 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.7771, allocations: 12.66 kB / 0.9629 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7771, allocations: 2.438 kB / 0.9629 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001042/0.7772, allocations: 155.5 kB / 0.9631 GB, free: 448 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7772, allocations: 0 / 0.9631 GB, free: 448 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002771/0.7775, allocations: 43.98 kB / 0.9631 GB, free: 436 kB / 0.7169 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.0001363/0.7776, allocations: 111.2 kB / 0.9632 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.7782, allocations: 199.3 kB / 0.9634 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7782, allocations: 0 / 0.9634 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.7784, allocations: 104.1 kB / 0.9635 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.7787, allocations: 27.98 kB / 0.9635 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.7795, allocations: 0.4905 MB / 0.964 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.7799, allocations: 0.7366 MB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.78, allocations: 50.64 kB / 0.9648 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.7801, allocations: 18.73 kB / 0.9648 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7801, allocations: 0 / 0.9648 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.004293/0.7844, allocations: 1.589 MB / 0.9664 GB, free: 14.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches