Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_10_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.001109/0.001108, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 191.8 kB / 16.67 MB, free: 6.543 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.804/1.069, allocations: 181.8 MB / 1.344 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007358/1.076, allocations: 4.448 MB / 1.348 GB, free: 5.945 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/1.077, allocations: 20.66 kB / 1.348 GB, free: 5.938 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008344/1.078, allocations: 249.6 kB / 1.348 GB, free: 5.766 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/1.08, allocations: 0.8006 MB / 1.349 GB, free: 5.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/1.084, allocations: 1.545 MB / 1.351 GB, free: 4.562 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001669/1.086, allocations: 1.261 MB / 1.352 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/1.086, allocations: 457.9 kB / 1.352 GB, free: 3.801 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/1.087, allocations: 0.5866 MB / 1.353 GB, free: 3.543 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/1.088, allocations: 412.1 kB / 1.353 GB, free: 3.363 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/1.088, allocations: 45.47 kB / 1.353 GB, free: 3.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/1.091, allocations: 1.558 MB / 1.355 GB, free: 2.723 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/1.091, allocations: 178 kB / 1.355 GB, free: 2.648 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/1.092, allocations: 308.7 kB / 1.355 GB, free: 2.473 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/1.094, allocations: 1.31 MB / 1.357 GB, free: 2.027 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.094, allocations: 0 / 1.357 GB, free: 2.027 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/1.094, allocations: 4 kB / 1.357 GB, free: 2.023 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.094, allocations: 1.062 kB / 1.357 GB, free: 2.023 MB / 1.029 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.001945/1.096, allocations: 1.036 MB / 1.358 GB, free: 1.242 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.096, allocations: 11.7 kB / 1.358 GB, free: 1.242 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/1.096, allocations: 80.8 kB / 1.358 GB, free: 1.176 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.098, allocations: 291.3 kB / 1.358 GB, free: 1.113 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/1.099, allocations: 479.1 kB / 1.358 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/1.099, allocations: 31.19 kB / 1.358 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/1.099, allocations: 41.03 kB / 1.358 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/1.1, allocations: 0.5505 MB / 1.359 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.1, allocations: 0 / 1.359 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/1.1, allocations: 15.44 kB / 1.359 GB, free: 496 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.1, allocations: 15.31 kB / 1.359 GB, free: 492 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.101, allocations: 463.6 kB / 1.359 GB, free: 352 kB / 1.029 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.002796/1.104, allocations: 2.122 MB / 1.362 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/1.105, allocations: 406 kB / 1.362 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/1.106, allocations: 237.8 kB / 1.362 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/1.106, allocations: 400.2 kB / 1.363 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006312/1.107, allocations: 294 kB / 1.363 GB, free: 14.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 2.354e-06/1.107, allocations: 0 / 1.363 GB, free: 14.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001897/1.109, allocations: 0.6864 MB / 1.363 GB, free: 13.72 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.109, allocations: 60.48 kB / 1.364 GB, free: 13.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/1.109, allocations: 494.2 kB / 1.364 GB, free: 13.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/1.109, allocations: 41.7 kB / 1.364 GB, free: 13.31 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.11, allocations: 260.6 kB / 1.364 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.11, allocations: 123 kB / 1.364 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.11, allocations: 98.34 kB / 1.364 GB, free: 12.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.11, allocations: 363.1 kB / 1.365 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/1.111, allocations: 192.6 kB / 1.365 GB, free: 12.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/1.111, allocations: 318.1 kB / 1.365 GB, free: 12.26 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/1.112, allocations: 0.545 MB / 1.366 GB, free: 11.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.112, allocations: 1.531 kB / 1.366 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001308/1.114, allocations: 0.66 MB / 1.367 GB, free: 11.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/1.114, allocations: 58.94 kB / 1.367 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.114, allocations: 7.266 kB / 1.367 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/1.114, allocations: 5.75 kB / 1.367 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/1.114, allocations: 89.98 kB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.114, allocations: 15.39 kB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/1.115, allocations: 84.98 kB / 1.367 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.115, allocations: 20.94 kB / 1.367 GB, free: 11.35 MB / 1.045 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.0002498/1.115, allocations: 187.8 kB / 1.367 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/1.115, allocations: 53.8 kB / 1.367 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.116, allocations: 0.5503 MB / 1.368 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.116, allocations: 3.469 kB / 1.368 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.117, allocations: 0 / 1.368 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.117, allocations: 3.984 kB / 1.368 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/1.119, allocations: 1.34 MB / 1.369 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/1.119, allocations: 7.125 kB / 1.369 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/1.119, allocations: 81.34 kB / 1.369 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.119, allocations: 6.031 kB / 1.369 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.119, allocations: 15.12 kB / 1.369 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.119, allocations: 4 kB / 1.369 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.119, allocations: 8.25 kB / 1.369 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/1.121, allocations: 0.937 MB / 1.37 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/1.121, allocations: 175.7 kB / 1.37 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/1.121, allocations: 19.52 kB / 1.37 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/1.122, allocations: 34.59 kB / 1.37 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.122, allocations: 52.06 kB / 1.37 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.122, allocations: 15.16 kB / 1.37 GB, free: 8.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004363/1.123, allocations: 341.7 kB / 1.37 GB, free: 8.789 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.81e-07/1.123, allocations: 4 kB / 1.37 GB, free: 8.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006487/1.123, allocations: 158.1 kB / 1.371 GB, free: 8.754 MB / 1.045 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.002456/1.126, allocations: 1.565 MB / 1.372 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.127, allocations: 0.5933 MB / 1.373 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.127, allocations: 0 / 1.373 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/1.128, allocations: 291.4 kB / 1.373 GB, free: 7.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.129, allocations: 290.9 kB / 1.373 GB, free: 6.934 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/1.136, allocations: 5.01 MB / 1.378 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.137, allocations: 0.8681 MB / 1.379 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005345/1.137, allocations: 124.2 kB / 1.379 GB, free: 2.633 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/1.138, allocations: 172.4 kB / 1.379 GB, free: 2.496 MB / 1.045 GB Notification: Performance of SimCode: time 8.92e-07/1.138, allocations: 0 / 1.379 GB, free: 2.496 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/1.176, allocations: 15.88 MB / 1.395 GB, free: 10.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.816, allocations: 5.188 kB / 1.395 GB, free: 10.04 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches