Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007584/0.007584, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001899/0.001899, allocations: 191.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.03 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6526, allocations: 151.6 MB / 1.166 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002708/0.6554, allocations: 1.919 MB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003507/0.6589, allocations: 3.455 MB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.659, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.6592, allocations: 52.61 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.6596, allocations: 134 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.284e-05/0.6597, allocations: 27.89 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.6599, allocations: 175.2 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.66, allocations: 25.69 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.6602, allocations: 91.56 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.6603, allocations: 75.69 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.6604, allocations: 12 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.6605, allocations: 39.89 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.6605, allocations: 35.84 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.6606, allocations: 71.55 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.6608, allocations: 179.1 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6608, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6608, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6609, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 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.0008275/0.6617, allocations: 0.5099 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6617, allocations: 12.92 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.6618, allocations: 38.73 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.6618, allocations: 16.84 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.6622, allocations: 258.9 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6622, allocations: 12.38 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.6622, allocations: 4.359 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.6626, allocations: 141.5 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6626, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.6626, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.6626, allocations: 12 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.6631, allocations: 143.8 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.6637, allocations: 456.5 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.6642, allocations: 174.5 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.6644, allocations: 104.8 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.6645, allocations: 0 / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.6645, allocations: 38.56 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.6645, allocations: 7.938 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008089/0.6653, allocations: 283.2 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6653, allocations: 55.41 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.6655, allocations: 217 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.6656, allocations: 33.7 kB / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.6656, allocations: 120.1 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.6657, allocations: 47.58 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.6658, allocations: 29.7 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6659, allocations: 342.7 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.6661, allocations: 75.94 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.6663, allocations: 75.94 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.6668, allocations: 163 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6668, allocations: 4 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005196/0.6673, allocations: 217.4 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6673, allocations: 10.5 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6673, allocations: 0 / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6674, allocations: 0 / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.6676, allocations: 35.97 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6676, allocations: 0 / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6678, allocations: 19.97 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6678, allocations: 7.938 kB / 1.176 GB, free: 9.75 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.6679, allocations: 125.8 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.668, allocations: 23.84 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.668, allocations: 25.84 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.668, allocations: 0 / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6681, allocations: 4 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6681, allocations: 3.984 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.6683, allocations: 273.4 kB / 1.176 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6684, allocations: 0 / 1.176 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.6686, allocations: 31.97 kB / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6686, allocations: 4 kB / 1.176 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6686, allocations: 7.984 kB / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6686, allocations: 0 / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6686, allocations: 0 / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.6692, allocations: 316.5 kB / 1.177 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6693, allocations: 116.9 kB / 1.177 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.6693, allocations: 0 / 1.177 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.6695, allocations: 15.98 kB / 1.177 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.6696, allocations: 15.97 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.6696, allocations: 11.98 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001257/0.6697, allocations: 160.4 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6698, allocations: 0 / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002691/0.67, allocations: 39.88 kB / 1.177 GB, free: 8.504 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008392/0.6709, allocations: 0.8618 MB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.6714, allocations: 175.9 kB / 1.178 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6714, allocations: 0 / 1.178 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.6717, allocations: 99.86 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.672, allocations: 30.09 kB / 1.178 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.675, allocations: 2.306 MB / 1.18 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.6753, allocations: 0.7352 MB / 1.181 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.6754, allocations: 44.59 kB / 1.181 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.6755, allocations: 47.42 kB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6755, allocations: 0 / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.694, allocations: 3.924 MB / 1.185 GB, free: 324 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/7.912, allocations: 17.58 kB / 1.185 GB, free: 308 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches