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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_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.008129/0.008129, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.002068/0.002068, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6423, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002525/0.6448, allocations: 1.898 MB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.648, allocations: 3.462 MB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.6481, allocations: 1.438 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.6484, allocations: 50.91 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.6488, allocations: 133.3 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.123e-05/0.6489, allocations: 31.8 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.6491, allocations: 170.2 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.6492, allocations: 39.19 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.6493, allocations: 75.62 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.6495, allocations: 85.33 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.6495, allocations: 9.188 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.6496, allocations: 29.77 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.6497, allocations: 46.17 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.6498, allocations: 81.55 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.65, allocations: 163.1 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.65, allocations: 0.7188 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.65, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.65, allocations: 0.7812 kB / 1.094 GB, free: 0.9609 MB / 0.8575 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.0007922/0.6508, allocations: 0.5074 MB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6509, allocations: 10.42 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.6509, allocations: 34.84 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.651, allocations: 25.09 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.6513, allocations: 244.9 kB / 1.094 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.6513, allocations: 2.344 kB / 1.094 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.6513, allocations: 7.875 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.6517, allocations: 148.1 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6517, allocations: 3.938 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.6517, allocations: 4.688 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.6518, allocations: 9.656 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.6522, allocations: 150.4 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.653, allocations: 450.2 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.6535, allocations: 166.9 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.6538, allocations: 111 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.6538, allocations: 1.844 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.6538, allocations: 35.03 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.6538, allocations: 0.6562 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0009088/0.6548, allocations: 297 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.6548, allocations: 53.61 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.655, allocations: 212.4 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6551, allocations: 27.36 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.6551, allocations: 128.7 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.6552, allocations: 44.66 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.6553, allocations: 32.08 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6554, allocations: 333.5 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.6557, allocations: 72.84 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.6559, allocations: 77.81 kB / 1.097 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.6564, allocations: 166.9 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6564, allocations: 1.531 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005956/0.657, allocations: 216.9 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6571, allocations: 6.141 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6571, allocations: 0 / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6571, allocations: 5.016 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.6574, allocations: 33.84 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6574, allocations: 4.844 kB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.6576, allocations: 21.22 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.6576, allocations: 11.89 kB / 1.097 GB, free: 14.59 MB / 0.8731 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 0.0001099/0.6577, allocations: 125.1 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.6578, allocations: 17.42 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.6578, allocations: 24.48 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.6579, allocations: 2.547 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6579, allocations: 0.8125 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6579, allocations: 0.75 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.6582, allocations: 282.6 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6582, allocations: 1.312 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.6584, allocations: 32.38 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.6585, allocations: 1.25 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6585, allocations: 6.359 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6585, allocations: 1.609 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6585, allocations: 0 / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.6591, allocations: 321.1 kB / 1.098 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6593, allocations: 110.2 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.6593, allocations: 8.906 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.6595, allocations: 12.78 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.6596, allocations: 12.31 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6596, allocations: 8.391 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000139/0.6597, allocations: 160 kB / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6597, allocations: 0 / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000293/0.66, allocations: 36.25 kB / 1.098 GB, free: 13.77 MB / 0.8731 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.0009086/0.661, allocations: 0.8545 MB / 1.099 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.6615, allocations: 178.6 kB / 1.099 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6616, allocations: 4.688 kB / 1.099 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.6618, allocations: 91.34 kB / 1.099 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.6623, allocations: 31.52 kB / 1.099 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.6656, allocations: 2.311 MB / 1.102 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6659, allocations: 0.7257 MB / 1.102 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.6661, allocations: 49.66 kB / 1.102 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6662, allocations: 54.08 kB / 1.102 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.6662, allocations: 0 / 1.102 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.6875, allocations: 3.912 MB / 1.106 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/8.107, allocations: 7.5 kB / 1.106 GB, free: 10.15 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches