Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.302/2.302, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.91 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5268, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002684/0.5296, allocations: 2.137 MB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.5328, allocations: 3.787 MB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.5329, allocations: 5.469 kB / 0.9555 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.5332, allocations: 65.39 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.5335, allocations: 122.7 kB / 0.9557 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.5337, allocations: 152.8 kB / 0.9558 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.534, allocations: 316.4 kB / 0.9561 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.5342, allocations: 54.03 kB / 0.9562 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.5343, allocations: 138.5 kB / 0.9563 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.5345, allocations: 144.8 kB / 0.9565 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.5346, allocations: 17.84 kB / 0.9565 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.5348, allocations: 129.3 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.5348, allocations: 65.45 kB / 0.9567 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.5349, allocations: 123 kB / 0.9568 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.5352, allocations: 333.1 kB / 0.9571 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5353, allocations: 1.562 kB / 0.9571 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5353, allocations: 0 / 0.9571 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5353, allocations: 0 / 0.9571 GB, free: 3.359 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001067/0.5363, allocations: 0.6332 MB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5364, allocations: 9.625 kB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.5364, allocations: 45.48 kB / 0.9578 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/0.5374, allocations: 169.9 kB / 0.9579 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.5381, allocations: 323.3 kB / 0.9582 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5381, allocations: 12.44 kB / 0.9583 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5381, allocations: 10.88 kB / 0.9583 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.5388, allocations: 223.7 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5388, allocations: 0.875 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.5388, allocations: 1.094 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5388, allocations: 2.438 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5398, allocations: 284.3 kB / 0.9588 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.541, allocations: 0.5792 MB / 0.9593 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.5416, allocations: 166 kB / 0.9595 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.5421, allocations: 156.7 kB / 0.9596 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.5428, allocations: 0.5496 MB / 0.9602 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.5429, allocations: 39.95 kB / 0.9602 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.5429, allocations: 0 / 0.9602 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001717/0.5446, allocations: 487.1 kB / 0.9607 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.5446, allocations: 53.69 kB / 0.9607 GB, free: 476 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5448, allocations: 267.6 kB / 0.961 GB, free: 280 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5449, allocations: 30.8 kB / 0.961 GB, free: 244 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5449, allocations: 147.8 kB / 0.9611 GB, free: 104 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.545, allocations: 49.06 kB / 0.9612 GB, free: 60 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.5451, allocations: 37.53 kB / 0.9612 GB, free: 28 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5452, allocations: 341.8 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.5458, allocations: 147.7 kB / 0.9617 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.5463, allocations: 148.7 kB / 0.9618 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5475, allocations: 294.4 kB / 0.9621 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5475, allocations: 3.938 kB / 0.9621 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001214/0.5487, allocations: 363.6 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5487, allocations: 9.25 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5487, allocations: 0 / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5487, allocations: 1.188 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.5492, allocations: 74.5 kB / 0.9625 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.5492, allocations: 1.344 kB / 0.9625 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.5496, allocations: 49.36 kB / 0.9626 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.5496, allocations: 11.77 kB / 0.9626 GB, free: 15.14 MB / 0.7325 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 (17): * Single equations (assignments): 17 * 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.000128/0.5498, allocations: 123.7 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.5498, allocations: 23.66 kB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.5511, allocations: 387.7 kB / 0.9631 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5511, allocations: 2.531 kB / 0.9631 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5512, allocations: 0 / 0.9631 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5512, allocations: 3.938 kB / 0.9631 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.5515, allocations: 301.4 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5515, allocations: 1.188 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.5519, allocations: 68.19 kB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.552, allocations: 1.062 kB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.552, allocations: 2.25 kB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.552, allocations: 0 / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.552, allocations: 1.125 kB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.5532, allocations: 448.3 kB / 0.9639 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5534, allocations: 118.3 kB / 0.964 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5534, allocations: 5.094 kB / 0.964 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.5538, allocations: 39.91 kB / 0.9641 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.5539, allocations: 18.36 kB / 0.9641 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5539, allocations: 7.234 kB / 0.9641 GB, free: 14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001616/0.5541, allocations: 186.4 kB / 0.9643 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5541, allocations: 0 / 0.9643 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003513/0.5545, allocations: 73.7 kB / 0.9643 GB, free: 13.85 MB / 0.7325 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.001592/0.5561, allocations: 1.014 MB / 0.9653 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.5573, allocations: 338.4 kB / 0.9656 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5573, allocations: 0 / 0.9656 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.5579, allocations: 167.1 kB / 0.9658 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.5583, allocations: 47.53 kB / 0.9659 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.5636, allocations: 2.879 MB / 0.9687 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5639, allocations: 0.7428 MB / 0.9694 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.5642, allocations: 49.77 kB / 0.9694 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5643, allocations: 80.89 kB / 0.9695 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5643, allocations: 0 / 0.9695 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.5871, allocations: 5.745 MB / 0.9751 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.848, allocations: 18.56 kB / 0.9751 GB, free: 6.988 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches