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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007128/0.007128, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001696/0.001696, allocations: 193.7 kB / 16.67 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.7 MB / 0.7453 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 67.89 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3062, allocations: 159.9 MB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7798/1.086, allocations: 181.8 MB / 1.403 GB, free: 1.109 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006961/1.093, allocations: 4.446 MB / 1.407 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/1.094, allocations: 24.06 kB / 1.407 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/1.095, allocations: 248.5 kB / 1.407 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/1.097, allocations: 0.7915 MB / 1.408 GB, free: 12.65 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/1.101, allocations: 1.546 MB / 1.41 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001758/1.102, allocations: 1.274 MB / 1.411 GB, free: 10.79 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/1.103, allocations: 450.7 kB / 1.411 GB, free: 10.51 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/1.104, allocations: 0.5855 MB / 1.412 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/1.105, allocations: 406.5 kB / 1.412 GB, free: 9.934 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/1.105, allocations: 45.97 kB / 1.412 GB, free: 9.934 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/1.108, allocations: 1.558 MB / 1.414 GB, free: 9.043 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/1.108, allocations: 187.1 kB / 1.414 GB, free: 8.914 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003719/1.109, allocations: 299.9 kB / 1.414 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/1.111, allocations: 1.314 MB / 1.416 GB, free: 7.934 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.111, allocations: 1.188 kB / 1.416 GB, free: 7.934 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.703e-06/1.111, allocations: 0 / 1.416 GB, free: 7.934 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.111, allocations: 0 / 1.416 GB, free: 7.934 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.001763/1.113, allocations: 1.041 MB / 1.417 GB, free: 7.066 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.113, allocations: 10.75 kB / 1.417 GB, free: 7.066 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/1.113, allocations: 75.56 kB / 1.417 GB, free: 6.996 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/1.115, allocations: 292.3 kB / 1.417 GB, free: 6.863 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/1.116, allocations: 465.5 kB / 1.417 GB, free: 6.473 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/1.116, allocations: 31.5 kB / 1.417 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/1.116, allocations: 50.14 kB / 1.417 GB, free: 6.438 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/1.117, allocations: 0.5502 MB / 1.418 GB, free: 6.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.117, allocations: 0 / 1.418 GB, free: 6.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/1.117, allocations: 17.38 kB / 1.418 GB, free: 6.059 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/1.117, allocations: 18.16 kB / 1.418 GB, free: 6.051 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.118, allocations: 456.4 kB / 1.418 GB, free: 5.84 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.002567/1.121, allocations: 2.128 MB / 1.421 GB, free: 3.98 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.122, allocations: 405.6 kB / 1.421 GB, free: 3.777 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/1.122, allocations: 231.4 kB / 1.421 GB, free: 3.664 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007492/1.123, allocations: 401 kB / 1.422 GB, free: 3.254 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/1.124, allocations: 299 kB / 1.422 GB, free: 3.066 MB / 1.107 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/1.124, allocations: 0 / 1.422 GB, free: 3.066 MB / 1.107 GB Notification: Performance of matching and sorting (n=37): time 0.001857/1.125, allocations: 0.6843 MB / 1.422 GB, free: 2.738 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.125, allocations: 59.7 kB / 1.423 GB, free: 2.672 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/1.126, allocations: 498.6 kB / 1.423 GB, free: 2.371 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/1.126, allocations: 38.45 kB / 1.423 GB, free: 2.332 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/1.126, allocations: 260.2 kB / 1.423 GB, free: 2.102 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.126, allocations: 121.9 kB / 1.423 GB, free: 1.996 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.127, allocations: 98 kB / 1.424 GB, free: 1.934 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.127, allocations: 367 kB / 1.424 GB, free: 1.578 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/1.127, allocations: 194.4 kB / 1.424 GB, free: 1.488 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/1.128, allocations: 318.3 kB / 1.424 GB, free: 1.266 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.129, allocations: 0.5423 MB / 1.425 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.129, allocations: 0 / 1.425 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001285/1.13, allocations: 0.6556 MB / 1.426 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/1.13, allocations: 61.66 kB / 1.426 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.13, allocations: 2.906 kB / 1.426 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.13, allocations: 9.547 kB / 1.426 GB, free: 460 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/1.131, allocations: 97.7 kB / 1.426 GB, free: 432 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.131, allocations: 9.328 kB / 1.426 GB, free: 428 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/1.132, allocations: 84.77 kB / 1.426 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.132, allocations: 20 kB / 1.426 GB, free: 368 kB / 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.0002483/1.132, allocations: 193.6 kB / 1.426 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/1.132, allocations: 57.58 kB / 1.426 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.133, allocations: 0.5359 MB / 1.427 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.133, allocations: 2.594 kB / 1.427 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.133, allocations: 3.984 kB / 1.427 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.133, allocations: 6.766 kB / 1.427 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/1.136, allocations: 1.348 MB / 1.428 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.136, allocations: 7.938 kB / 1.428 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/1.136, allocations: 82.81 kB / 1.428 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.136, allocations: 4 kB / 1.428 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/1.136, allocations: 12 kB / 1.428 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.136, allocations: 4 kB / 1.428 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.136, allocations: 7.938 kB / 1.428 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.138, allocations: 0.9409 MB / 1.429 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/1.138, allocations: 176.6 kB / 1.429 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/1.138, allocations: 15.98 kB / 1.429 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/1.139, allocations: 31.97 kB / 1.429 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.139, allocations: 51.94 kB / 1.429 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/1.139, allocations: 16 kB / 1.429 GB, free: 13.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004424/1.139, allocations: 346.8 kB / 1.43 GB, free: 12.74 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 1.43 GB, free: 12.74 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007073/1.14, allocations: 159.8 kB / 1.43 GB, free: 12.58 MB / 1.123 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.002717/1.143, allocations: 1.577 MB / 1.431 GB, free: 10.95 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.144, allocations: 0.5803 MB / 1.432 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.144, allocations: 0 / 1.432 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/1.145, allocations: 299.8 kB / 1.432 GB, free: 10.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.147, allocations: 282.6 kB / 1.432 GB, free: 9.789 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/1.155, allocations: 5.009 MB / 1.437 GB, free: 4.527 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/1.155, allocations: 0.8665 MB / 1.438 GB, free: 3.633 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004967/1.156, allocations: 128.7 kB / 1.438 GB, free: 3.504 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/1.156, allocations: 171.4 kB / 1.438 GB, free: 3.336 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/1.156, allocations: 0 / 1.438 GB, free: 3.336 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/1.195, allocations: 15.86 MB / 1.454 GB, free: 3.758 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.883, allocations: 11.78 kB / 1.454 GB, free: 3.746 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