Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_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.007668/0.007668, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001718/0.001718, allocations: 200.5 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.84 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2782, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8561/1.134, allocations: 181.8 MB / 1.397 GB, free: 7.488 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007918/1.142, allocations: 4.447 MB / 1.402 GB, free: 3.871 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/1.144, allocations: 20.78 kB / 1.402 GB, free: 3.863 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/1.145, allocations: 252.7 kB / 1.402 GB, free: 3.641 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/1.148, allocations: 0.7979 MB / 1.403 GB, free: 3.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/1.152, allocations: 1.539 MB / 1.404 GB, free: 1.895 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001941/1.154, allocations: 1.262 MB / 1.405 GB, free: 1.172 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/1.155, allocations: 451.4 kB / 1.406 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/1.156, allocations: 0.5896 MB / 1.406 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/1.157, allocations: 410 kB / 1.407 GB, free: 312 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/1.157, allocations: 45.16 kB / 1.407 GB, free: 312 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/1.161, allocations: 1.559 MB / 1.408 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/1.161, allocations: 182.5 kB / 1.409 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006299/1.162, allocations: 304.3 kB / 1.409 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/1.165, allocations: 1.311 MB / 1.41 GB, free: 14.31 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.165, allocations: 4 kB / 1.41 GB, free: 14.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.593e-06/1.165, allocations: 0 / 1.41 GB, free: 14.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.01e-05/1.165, allocations: 0 / 1.41 GB, free: 14.3 MB / 1.107 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.00255/1.167, allocations: 1.041 MB / 1.411 GB, free: 13.43 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.167, allocations: 13.62 kB / 1.411 GB, free: 13.43 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/1.167, allocations: 80.28 kB / 1.411 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/1.17, allocations: 286.6 kB / 1.411 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.171, allocations: 474.7 kB / 1.412 GB, free: 12.83 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.171, allocations: 34.69 kB / 1.412 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.171, allocations: 41.72 kB / 1.412 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.172, allocations: 0.5515 MB / 1.413 GB, free: 12.44 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.172, allocations: 0 / 1.413 GB, free: 12.44 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/1.172, allocations: 16.38 kB / 1.413 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/1.172, allocations: 14.41 kB / 1.413 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/1.173, allocations: 459.8 kB / 1.413 GB, free: 12.2 MB / 1.107 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.003165/1.177, allocations: 2.122 MB / 1.415 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.178, allocations: 412 kB / 1.415 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/1.178, allocations: 231.5 kB / 1.416 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/1.179, allocations: 400 kB / 1.416 GB, free: 9.625 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/1.18, allocations: 293.3 kB / 1.416 GB, free: 9.441 MB / 1.107 GB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/1.18, allocations: 2.938 kB / 1.416 GB, free: 9.441 MB / 1.107 GB Notification: Performance of matching and sorting (n=37): time 0.001869/1.182, allocations: 0.6889 MB / 1.417 GB, free: 9.105 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.182, allocations: 65.33 kB / 1.417 GB, free: 9.035 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/1.182, allocations: 497.1 kB / 1.418 GB, free: 8.734 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/1.182, allocations: 35.02 kB / 1.418 GB, free: 8.699 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.182, allocations: 259.2 kB / 1.418 GB, free: 8.469 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/1.183, allocations: 129 kB / 1.418 GB, free: 8.359 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.183, allocations: 92.19 kB / 1.418 GB, free: 8.301 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.183, allocations: 363.4 kB / 1.418 GB, free: 7.949 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/1.183, allocations: 199.9 kB / 1.419 GB, free: 7.855 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/1.184, allocations: 310.8 kB / 1.419 GB, free: 7.641 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.185, allocations: 0.5502 MB / 1.419 GB, free: 7.254 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.185, allocations: 0 / 1.419 GB, free: 7.254 MB / 1.107 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001401/1.186, allocations: 0.658 MB / 1.42 GB, free: 6.883 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.187, allocations: 59.09 kB / 1.42 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.187, allocations: 5.875 kB / 1.42 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.187, allocations: 5.688 kB / 1.42 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/1.187, allocations: 95.09 kB / 1.42 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.187, allocations: 12.23 kB / 1.42 GB, free: 6.785 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/1.188, allocations: 86.52 kB / 1.42 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/1.188, allocations: 19 kB / 1.42 GB, free: 6.727 MB / 1.107 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.0002324/1.188, allocations: 191 kB / 1.421 GB, free: 6.566 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/1.188, allocations: 55.2 kB / 1.421 GB, free: 6.539 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.189, allocations: 0.543 MB / 1.421 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.189, allocations: 2.188 kB / 1.421 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.189, allocations: 2.906 kB / 1.421 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.189, allocations: 0 / 1.421 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.192, allocations: 1.35 MB / 1.422 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.192, allocations: 6.594 kB / 1.422 GB, free: 5.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/1.192, allocations: 75.53 kB / 1.423 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.192, allocations: 8.438 kB / 1.423 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/1.192, allocations: 14.69 kB / 1.423 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/1.192, allocations: 4.875 kB / 1.423 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.192, allocations: 8.812 kB / 1.423 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.194, allocations: 0.9353 MB / 1.423 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/1.194, allocations: 180.6 kB / 1.424 GB, free: 4.43 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.194, allocations: 17.86 kB / 1.424 GB, free: 4.418 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/1.195, allocations: 35.38 kB / 1.424 GB, free: 4.402 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.195, allocations: 55.84 kB / 1.424 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.195, allocations: 13.31 kB / 1.424 GB, free: 4.367 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004081/1.195, allocations: 348.3 kB / 1.424 GB, free: 4.109 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.195, allocations: 0 / 1.424 GB, free: 4.109 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006188/1.196, allocations: 155.8 kB / 1.424 GB, free: 3.957 MB / 1.107 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.002328/1.198, allocations: 1.577 MB / 1.426 GB, free: 2.32 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001233/1.2, allocations: 0.5849 MB / 1.426 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.2, allocations: 0 / 1.426 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006818/1.2, allocations: 284.8 kB / 1.427 GB, free: 1.434 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.202, allocations: 290.2 kB / 1.427 GB, free: 1.156 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/1.21, allocations: 5.007 MB / 1.432 GB, free: 11.9 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.21, allocations: 0.8704 MB / 1.433 GB, free: 11 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004807/1.21, allocations: 124.7 kB / 1.433 GB, free: 10.88 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.211, allocations: 175.4 kB / 1.433 GB, free: 10.7 MB / 1.123 GB Notification: Performance of SimCode: time 7.21e-07/1.211, allocations: 0 / 1.433 GB, free: 10.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/1.247, allocations: 15.87 MB / 1.448 GB, free: 11.11 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.872, allocations: 16.45 kB / 1.448 GB, free: 11.09 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches