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.007372/0.007372, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001988/0.001989, allocations: 194.1 kB / 16.68 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.678/2.678, allocations: 437.1 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7873/1.078, allocations: 181.8 MB / 1.344 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00655/1.084, allocations: 4.449 MB / 1.348 GB, free: 5.961 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/1.085, allocations: 19.78 kB / 1.348 GB, free: 5.953 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/1.085, allocations: 251.1 kB / 1.348 GB, free: 5.781 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/1.088, allocations: 0.7579 MB / 1.349 GB, free: 5.359 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/1.092, allocations: 1.518 MB / 1.351 GB, free: 4.609 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001546/1.093, allocations: 1.259 MB / 1.352 GB, free: 4.039 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/1.094, allocations: 458 kB / 1.352 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/1.095, allocations: 0.5652 MB / 1.353 GB, free: 3.602 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/1.095, allocations: 408.8 kB / 1.353 GB, free: 3.422 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/1.096, allocations: 46.88 kB / 1.353 GB, free: 3.422 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/1.098, allocations: 1.54 MB / 1.355 GB, free: 2.797 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/1.098, allocations: 194.1 kB / 1.355 GB, free: 2.707 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/1.099, allocations: 301.5 kB / 1.355 GB, free: 2.539 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/1.101, allocations: 1.317 MB / 1.356 GB, free: 2.086 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.101, allocations: 2.391 kB / 1.356 GB, free: 2.086 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/1.101, allocations: 0 / 1.356 GB, free: 2.086 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.52e-05/1.101, allocations: 0 / 1.356 GB, free: 2.086 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.001819/1.103, allocations: 1.036 MB / 1.357 GB, free: 1.305 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.103, allocations: 9.312 kB / 1.357 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/1.103, allocations: 78.16 kB / 1.358 GB, free: 1.242 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/1.105, allocations: 286 kB / 1.358 GB, free: 1.184 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/1.106, allocations: 474.7 kB / 1.358 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/1.106, allocations: 35.34 kB / 1.358 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/1.106, allocations: 41.47 kB / 1.358 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/1.107, allocations: 0.5474 MB / 1.359 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.107, allocations: 8.812 kB / 1.359 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/1.107, allocations: 18.89 kB / 1.359 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/1.107, allocations: 14.09 kB / 1.359 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.108, allocations: 453.6 kB / 1.359 GB, free: 424 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.002707/1.111, allocations: 2.128 MB / 1.361 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/1.112, allocations: 408.7 kB / 1.362 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/1.112, allocations: 227.6 kB / 1.362 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/1.113, allocations: 398.5 kB / 1.362 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/1.114, allocations: 295.7 kB / 1.363 GB, free: 14.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/1.114, allocations: 5.031 kB / 1.363 GB, free: 14.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001867/1.115, allocations: 0.6925 MB / 1.363 GB, free: 13.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.116, allocations: 55.44 kB / 1.363 GB, free: 13.74 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/1.116, allocations: 495.8 kB / 1.364 GB, free: 13.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/1.116, allocations: 32.73 kB / 1.364 GB, free: 13.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.116, allocations: 261.6 kB / 1.364 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/1.117, allocations: 131 kB / 1.364 GB, free: 13.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.117, allocations: 89.55 kB / 1.364 GB, free: 13.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.117, allocations: 367 kB / 1.365 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/1.118, allocations: 205.3 kB / 1.365 GB, free: 12.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/1.118, allocations: 313.4 kB / 1.365 GB, free: 12.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.119, allocations: 0.5463 MB / 1.366 GB, free: 11.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.119, allocations: 4.312 kB / 1.366 GB, free: 11.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001387/1.121, allocations: 0.6469 MB / 1.366 GB, free: 11.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/1.121, allocations: 63.45 kB / 1.366 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.121, allocations: 3.562 kB / 1.366 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.121, allocations: 5.344 kB / 1.366 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/1.121, allocations: 102.6 kB / 1.367 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.121, allocations: 5.312 kB / 1.367 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/1.122, allocations: 81.7 kB / 1.367 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.122, allocations: 20.88 kB / 1.367 GB, free: 11.44 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.0002436/1.122, allocations: 194.3 kB / 1.367 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/1.122, allocations: 57.73 kB / 1.367 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.123, allocations: 0.5374 MB / 1.367 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.124, allocations: 5.375 kB / 1.367 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.124, allocations: 0 / 1.367 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.124, allocations: 7.922 kB / 1.367 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/1.126, allocations: 1.347 MB / 1.369 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.126, allocations: 10.47 kB / 1.369 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/1.126, allocations: 75.09 kB / 1.369 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.126, allocations: 6.938 kB / 1.369 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.126, allocations: 16 kB / 1.369 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.126, allocations: 7 kB / 1.369 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.126, allocations: 2.688 kB / 1.369 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/1.128, allocations: 0.9384 MB / 1.37 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/1.128, allocations: 178.6 kB / 1.37 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/1.128, allocations: 11.41 kB / 1.37 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/1.129, allocations: 29.81 kB / 1.37 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.129, allocations: 59.88 kB / 1.37 GB, free: 9.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.129, allocations: 12.31 kB / 1.37 GB, free: 9.078 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004302/1.13, allocations: 345.2 kB / 1.37 GB, free: 8.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.13, allocations: 0 / 1.37 GB, free: 8.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005898/1.13, allocations: 154.3 kB / 1.371 GB, free: 8.848 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.002435/1.133, allocations: 1.576 MB / 1.372 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.134, allocations: 0.5874 MB / 1.373 GB, free: 7.305 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.134, allocations: 0 / 1.373 GB, free: 7.305 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/1.135, allocations: 295.5 kB / 1.373 GB, free: 7.172 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.136, allocations: 277 kB / 1.373 GB, free: 7.031 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007706/1.144, allocations: 5.012 MB / 1.378 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/1.144, allocations: 0.8686 MB / 1.379 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004988/1.145, allocations: 128.3 kB / 1.379 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/1.145, allocations: 176.1 kB / 1.379 GB, free: 2.582 MB / 1.045 GB Notification: Performance of SimCode: time 2.485e-06/1.145, allocations: 0 / 1.379 GB, free: 2.582 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/1.189, allocations: 15.88 MB / 1.395 GB, free: 10.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.186/10.38, allocations: 3.375 kB / 1.395 GB, free: 10.18 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