Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_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.005222/0.005222, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001355/0.001355, allocations: 195.5 kB / 16.68 MB, free: 5.934 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8369, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2093/1.046, allocations: 181.8 MB / 1.398 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007293/1.054, allocations: 4.446 MB / 1.402 GB, free: 7.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/1.054, allocations: 19.88 kB / 1.402 GB, free: 7.098 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007753/1.055, allocations: 246.1 kB / 1.402 GB, free: 6.855 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/1.057, allocations: 0.758 MB / 1.403 GB, free: 6.094 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/1.061, allocations: 1.517 MB / 1.405 GB, free: 4.574 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001979/1.063, allocations: 1.25 MB / 1.406 GB, free: 3.32 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008095/1.064, allocations: 457.3 kB / 1.406 GB, free: 2.859 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/1.065, allocations: 0.5682 MB / 1.407 GB, free: 2.289 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/1.066, allocations: 414.2 kB / 1.407 GB, free: 1.883 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/1.066, allocations: 48 kB / 1.407 GB, free: 1.836 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/1.069, allocations: 1.543 MB / 1.409 GB, free: 296 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/1.069, allocations: 183.4 kB / 1.409 GB, free: 112 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/1.07, allocations: 306.7 kB / 1.409 GB, free: 15.8 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/1.072, allocations: 1.308 MB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.072, allocations: 4 kB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.282e-06/1.072, allocations: 7.875 kB / 1.41 GB, free: 14.49 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.072, allocations: 0 / 1.41 GB, free: 14.49 MB / 1.139 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.001858/1.074, allocations: 1.04 MB / 1.411 GB, free: 13.39 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.074, allocations: 8.031 kB / 1.411 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.872e-05/1.074, allocations: 86.52 kB / 1.412 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/1.076, allocations: 287.2 kB / 1.412 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/1.077, allocations: 465.8 kB / 1.412 GB, free: 12.51 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/1.077, allocations: 48.98 kB / 1.412 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/1.077, allocations: 40 kB / 1.412 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.078, allocations: 0.5468 MB / 1.413 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.078, allocations: 3.938 kB / 1.413 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/1.078, allocations: 19.94 kB / 1.413 GB, free: 11.82 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/1.078, allocations: 12 kB / 1.413 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.08, allocations: 459.5 kB / 1.413 GB, free: 11.36 MB / 1.139 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.002703/1.082, allocations: 2.117 MB / 1.415 GB, free: 9.113 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.083, allocations: 410.3 kB / 1.416 GB, free: 8.703 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/1.084, allocations: 229.3 kB / 1.416 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/1.085, allocations: 400.3 kB / 1.416 GB, free: 8.012 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/1.085, allocations: 294.8 kB / 1.417 GB, free: 7.711 MB / 1.139 GB Notification: Performance of pre-optimization done (n=37): time 2.435e-06/1.085, allocations: 0 / 1.417 GB, free: 7.711 MB / 1.139 GB Notification: Performance of matching and sorting (n=37): time 0.001924/1.087, allocations: 0.6905 MB / 1.417 GB, free: 7.016 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.087, allocations: 55.41 kB / 1.417 GB, free: 6.949 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/1.088, allocations: 494.1 kB / 1.418 GB, free: 6.453 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/1.088, allocations: 37.7 kB / 1.418 GB, free: 6.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/1.088, allocations: 260.5 kB / 1.418 GB, free: 6.152 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.088, allocations: 130.9 kB / 1.418 GB, free: 6.023 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.089, allocations: 90.08 kB / 1.418 GB, free: 5.93 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.089, allocations: 366.8 kB / 1.419 GB, free: 5.562 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/1.089, allocations: 200.8 kB / 1.419 GB, free: 5.367 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/1.09, allocations: 319.9 kB / 1.419 GB, free: 5.016 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.091, allocations: 0.5411 MB / 1.42 GB, free: 4.422 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.091, allocations: 7.938 kB / 1.42 GB, free: 4.414 MB / 1.139 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001403/1.092, allocations: 0.6445 MB / 1.42 GB, free: 3.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/1.093, allocations: 63.39 kB / 1.42 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.093, allocations: 4.375 kB / 1.42 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.093, allocations: 12 kB / 1.42 GB, free: 3.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/1.093, allocations: 95.81 kB / 1.421 GB, free: 3.566 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.093, allocations: 4 kB / 1.421 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/1.094, allocations: 83.52 kB / 1.421 GB, free: 3.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/1.094, allocations: 23.94 kB / 1.421 GB, free: 3.457 MB / 1.139 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.0002675/1.094, allocations: 201.6 kB / 1.421 GB, free: 3.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/1.094, allocations: 51.67 kB / 1.421 GB, free: 3.199 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.095, allocations: 0.537 MB / 1.421 GB, free: 2.648 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.095, allocations: 8 kB / 1.421 GB, free: 2.641 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.095, allocations: 0 / 1.421 GB, free: 2.641 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.095, allocations: 7.984 kB / 1.421 GB, free: 2.633 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.098, allocations: 1.355 MB / 1.423 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.098, allocations: 4 kB / 1.423 GB, free: 1.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.098, allocations: 79.81 kB / 1.423 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.098, allocations: 4 kB / 1.423 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.098, allocations: 16 kB / 1.423 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.098, allocations: 4 kB / 1.423 GB, free: 1.074 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.098, allocations: 7.938 kB / 1.423 GB, free: 1.066 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.1, allocations: 0.9447 MB / 1.424 GB, free: 60 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/1.1, allocations: 172.7 kB / 1.424 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/1.101, allocations: 15.98 kB / 1.424 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/1.101, allocations: 31.91 kB / 1.424 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.101, allocations: 55.94 kB / 1.424 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/1.101, allocations: 12 kB / 1.424 GB, free: 15.76 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004514/1.102, allocations: 346.8 kB / 1.424 GB, free: 15.42 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.102, allocations: 0 / 1.424 GB, free: 15.42 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005824/1.102, allocations: 155.8 kB / 1.425 GB, free: 15.27 MB / 1.154 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.00247/1.105, allocations: 1.586 MB / 1.426 GB, free: 13.62 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.106, allocations: 0.5764 MB / 1.427 GB, free: 13.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.106, allocations: 0 / 1.427 GB, free: 13.02 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/1.107, allocations: 293.1 kB / 1.427 GB, free: 12.74 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.108, allocations: 292.9 kB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/1.116, allocations: 5.012 MB / 1.432 GB, free: 7.195 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/1.117, allocations: 0.8704 MB / 1.433 GB, free: 6.297 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005608/1.118, allocations: 128.7 kB / 1.433 GB, free: 6.168 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.118, allocations: 175.4 kB / 1.433 GB, free: 5.996 MB / 1.154 GB Notification: Performance of SimCode: time 5.91e-07/1.118, allocations: 0 / 1.433 GB, free: 5.996 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04713/1.165, allocations: 15.85 MB / 1.449 GB, free: 6.426 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/10.25, allocations: 4.594 kB / 1.449 GB, free: 6.422 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches