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.005368/0.005368, allocations: 96.31 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.001827/0.001827, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.352/2.352, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 60.12 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9037/1.195, allocations: 181.8 MB / 1.265 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006986/1.202, allocations: 4.456 MB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/1.204, allocations: 22 kB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008501/1.204, allocations: 250.4 kB / 1.27 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/1.207, allocations: 0.7892 MB / 1.27 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/1.211, allocations: 1.55 MB / 1.272 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002408/1.214, allocations: 1.266 MB / 1.273 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/1.215, allocations: 450.2 kB / 1.274 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/1.216, allocations: 0.5899 MB / 1.274 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007508/1.217, allocations: 407.9 kB / 1.275 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.217, allocations: 46.84 kB / 1.275 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/1.221, allocations: 1.552 MB / 1.276 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/1.222, allocations: 188.8 kB / 1.276 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006261/1.222, allocations: 305.4 kB / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.227, allocations: 1.312 MB / 1.278 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.227, allocations: 1.203 kB / 1.278 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.925e-06/1.227, allocations: 0.6562 kB / 1.278 GB, free: 2.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.227, allocations: 1.5 kB / 1.278 GB, free: 2.957 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.002448/1.229, allocations: 1.037 MB / 1.279 GB, free: 2.277 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.229, allocations: 9.438 kB / 1.279 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/1.23, allocations: 79.14 kB / 1.279 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/1.232, allocations: 289.8 kB / 1.279 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/1.233, allocations: 475.2 kB / 1.28 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/1.233, allocations: 35 kB / 1.28 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/1.233, allocations: 43.59 kB / 1.28 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.234, allocations: 0.5519 MB / 1.28 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.234, allocations: 1.875 kB / 1.28 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/1.234, allocations: 15.27 kB / 1.28 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/1.234, allocations: 11.84 kB / 1.28 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.235, allocations: 461.2 kB / 1.281 GB, free: 1.828 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.002824/1.238, allocations: 2.131 MB / 1.283 GB, free: 16.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.239, allocations: 404.3 kB / 1.283 GB, free: 16.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/1.24, allocations: 227.5 kB / 1.283 GB, free: 16.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000748/1.241, allocations: 400.7 kB / 1.284 GB, free: 16.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006547/1.241, allocations: 290 kB / 1.284 GB, free: 16.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.745e-06/1.241, allocations: 0.8125 kB / 1.284 GB, free: 16.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.00202/1.243, allocations: 0.6954 MB / 1.285 GB, free: 16.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.243, allocations: 58 kB / 1.285 GB, free: 15.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/1.244, allocations: 490 kB / 1.285 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/1.244, allocations: 35.42 kB / 1.285 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/1.244, allocations: 264.5 kB / 1.286 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.244, allocations: 132.4 kB / 1.286 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/1.245, allocations: 90.2 kB / 1.286 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.245, allocations: 365.8 kB / 1.286 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/1.245, allocations: 195.8 kB / 1.286 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/1.246, allocations: 318.6 kB / 1.287 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.247, allocations: 0.5389 MB / 1.287 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.247, allocations: 2.094 kB / 1.287 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001347/1.248, allocations: 0.6501 MB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/1.249, allocations: 64.36 kB / 1.288 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.249, allocations: 4.344 kB / 1.288 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.249, allocations: 8.688 kB / 1.288 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/1.249, allocations: 105 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.249, allocations: 6.547 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/1.25, allocations: 81.67 kB / 1.288 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/1.25, allocations: 22.73 kB / 1.288 GB, free: 14.76 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.0003128/1.25, allocations: 189.8 kB / 1.288 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/1.25, allocations: 61.66 kB / 1.288 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.252, allocations: 0.5361 MB / 1.289 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.252, allocations: 4.031 kB / 1.289 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.252, allocations: 0.625 kB / 1.289 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.252, allocations: 2.203 kB / 1.289 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/1.254, allocations: 1.353 MB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.254, allocations: 5.844 kB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/1.255, allocations: 74.81 kB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.255, allocations: 6.375 kB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/1.255, allocations: 11.45 kB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.255, allocations: 13.59 kB / 1.29 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.255, allocations: 3.844 kB / 1.29 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.256, allocations: 0.9446 MB / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/1.257, allocations: 171.5 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/1.257, allocations: 17.08 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/1.257, allocations: 36.2 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.258, allocations: 50.12 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/1.258, allocations: 16.98 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004819/1.258, allocations: 345.9 kB / 1.292 GB, free: 13.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.258, allocations: 0 / 1.292 GB, free: 13.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007379/1.259, allocations: 155 kB / 1.292 GB, free: 13.61 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.002464/1.261, allocations: 1.594 MB / 1.294 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001332/1.263, allocations: 0.5789 MB / 1.294 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.263, allocations: 1.156 kB / 1.294 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007266/1.263, allocations: 296.7 kB / 1.294 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.265, allocations: 279.9 kB / 1.295 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/1.274, allocations: 5.015 MB / 1.3 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.274, allocations: 0.8672 MB / 1.3 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006674/1.275, allocations: 125.7 kB / 1.3 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/1.275, allocations: 175.6 kB / 1.301 GB, free: 9.852 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.275, allocations: 1.094 kB / 1.301 GB, free: 9.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/1.322, allocations: 15.85 MB / 1.316 GB, free: 8.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.816, allocations: 12.27 kB / 1.316 GB, free: 8.559 MB / 1.029 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