Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.0059/0.0059, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001271/0.001271, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.197/2.197, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7245, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1975/0.922, allocations: 181.8 MB / 1.265 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.9277, allocations: 4.446 MB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.9284, allocations: 23.88 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.9292, allocations: 250.1 kB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.9311, allocations: 0.7541 MB / 1.27 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.9345, allocations: 1.524 MB / 1.272 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.936, allocations: 1.259 MB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.9366, allocations: 441.4 kB / 1.273 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.9378, allocations: 0.5759 MB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.9383, allocations: 406.4 kB / 1.274 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.9384, allocations: 48 kB / 1.274 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.9411, allocations: 1.547 MB / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.9414, allocations: 187.4 kB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.9417, allocations: 306.5 kB / 1.276 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.944, allocations: 1.301 MB / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.944, allocations: 4 kB / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.944, allocations: 0 / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.944, allocations: 0 / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001708/0.9457, allocations: 1.01 MB / 1.279 GB, free: 9.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.9458, allocations: 16.02 kB / 1.279 GB, free: 9.801 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.054e-05/0.9459, allocations: 78.53 kB / 1.279 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.9478, allocations: 286.9 kB / 1.279 GB, free: 9.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.9487, allocations: 473.3 kB / 1.28 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.9488, allocations: 41 kB / 1.28 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.9489, allocations: 40 kB / 1.28 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.9499, allocations: 0.5468 MB / 1.28 GB, free: 8.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.95, allocations: 7.922 kB / 1.28 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.95, allocations: 27.92 kB / 1.28 GB, free: 8.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.95, allocations: 12 kB / 1.28 GB, free: 8.219 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.9511, allocations: 455.6 kB / 1.281 GB, free: 7.777 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.9539, allocations: 2.104 MB / 1.283 GB, free: 5.539 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.9549, allocations: 414.4 kB / 1.283 GB, free: 5.125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.9553, allocations: 220.7 kB / 1.283 GB, free: 4.906 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.956, allocations: 408.2 kB / 1.284 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006436/0.9567, allocations: 290.8 kB / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.9567, allocations: 0 / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.002002/0.9587, allocations: 0.6876 MB / 1.285 GB, free: 3.441 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.9588, allocations: 55.41 kB / 1.285 GB, free: 3.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.9594, allocations: 494 kB / 1.285 GB, free: 2.879 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.9595, allocations: 37.7 kB / 1.285 GB, free: 2.836 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.9597, allocations: 256.1 kB / 1.285 GB, free: 2.582 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9598, allocations: 126.3 kB / 1.286 GB, free: 2.457 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.9599, allocations: 94.03 kB / 1.286 GB, free: 2.359 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9601, allocations: 366.8 kB / 1.286 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.9605, allocations: 196.8 kB / 1.286 GB, free: 1.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.9611, allocations: 316 kB / 1.286 GB, free: 1.453 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.9622, allocations: 0.5454 MB / 1.287 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.9622, allocations: 11.88 kB / 1.287 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001345/0.9636, allocations: 0.648 MB / 1.288 GB, free: 180 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.9637, allocations: 59.78 kB / 1.288 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9637, allocations: 4 kB / 1.288 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9637, allocations: 11.98 kB / 1.288 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.9642, allocations: 95.86 kB / 1.288 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.9642, allocations: 8 kB / 1.288 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.9648, allocations: 79.28 kB / 1.288 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.9648, allocations: 23.98 kB / 1.288 GB, free: 15.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002771/0.9651, allocations: 199.2 kB / 1.288 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.9652, allocations: 51.34 kB / 1.288 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.9666, allocations: 0.5304 MB / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.9667, allocations: 4 kB / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9667, allocations: 4 kB / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9667, allocations: 64 / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.9692, allocations: 1.356 MB / 1.29 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9692, allocations: 4 kB / 1.29 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.9696, allocations: 71.89 kB / 1.29 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.9696, allocations: 4 kB / 1.29 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.9697, allocations: 19.98 kB / 1.29 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.9697, allocations: 7.938 kB / 1.29 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.9697, allocations: 4 kB / 1.29 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.9715, allocations: 0.9413 MB / 1.291 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.9717, allocations: 172.4 kB / 1.291 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.9718, allocations: 12 kB / 1.291 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.9723, allocations: 31.95 kB / 1.291 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.9724, allocations: 59.83 kB / 1.291 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.9725, allocations: 15.98 kB / 1.291 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005868/0.9731, allocations: 346.8 kB / 1.292 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9731, allocations: 0 / 1.292 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006215/0.9737, allocations: 151.8 kB / 1.292 GB, free: 11.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002582/0.9763, allocations: 1.585 MB / 1.293 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.9776, allocations: 0.5871 MB / 1.294 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9776, allocations: 0 / 1.294 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.9783, allocations: 289 kB / 1.294 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.9797, allocations: 294.2 kB / 1.294 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.9873, allocations: 4.982 MB / 1.299 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.9879, allocations: 0.8665 MB / 1.3 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000449/0.9883, allocations: 128.7 kB / 1.3 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.9886, allocations: 179.4 kB / 1.3 GB, free: 2.469 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.9886, allocations: 0 / 1.3 GB, free: 2.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/1.027, allocations: 15.86 MB / 1.316 GB, free: 2.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.811, allocations: 8.047 kB / 1.316 GB, free: 2.891 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches