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.006843/0.006843, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001549/0.001549, allocations: 194.9 kB / 16.68 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.139/2.139, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.699, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.183/0.8821, allocations: 181.8 MB / 1.265 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005825/0.8879, allocations: 4.447 MB / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.8885, allocations: 19.88 kB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.8891, allocations: 258 kB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.8908, allocations: 0.7541 MB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.894, allocations: 1.511 MB / 1.272 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.8953, allocations: 1.255 MB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.8959, allocations: 453.3 kB / 1.273 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.8968, allocations: 0.5759 MB / 1.274 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.8973, allocations: 410.4 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.8973, allocations: 44 kB / 1.274 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.8997, allocations: 1.543 MB / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.8999, allocations: 183.4 kB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.9002, allocations: 310.5 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.9018, allocations: 1.297 MB / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9018, allocations: 8 kB / 1.278 GB, free: 10.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9018, allocations: 0 / 1.278 GB, free: 10.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9019, allocations: 0 / 1.278 GB, free: 10.88 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.001634/0.9035, allocations: 1.017 MB / 1.279 GB, free: 9.805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.9036, allocations: 8.031 kB / 1.279 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.9037, allocations: 86.52 kB / 1.279 GB, free: 9.703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.9056, allocations: 290.9 kB / 1.279 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.9064, allocations: 473.3 kB / 1.28 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.9064, allocations: 37 kB / 1.28 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.9065, allocations: 40 kB / 1.28 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.9075, allocations: 0.5468 MB / 1.28 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9075, allocations: 0 / 1.28 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.9076, allocations: 23.92 kB / 1.28 GB, free: 8.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.9076, allocations: 12 kB / 1.28 GB, free: 8.219 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.9086, allocations: 455.6 kB / 1.281 GB, free: 7.777 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.002395/0.911, allocations: 2.116 MB / 1.283 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.912, allocations: 414.4 kB / 1.283 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.9125, allocations: 220.7 kB / 1.283 GB, free: 4.895 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.9131, allocations: 400.3 kB / 1.284 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.9137, allocations: 286.9 kB / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.9137, allocations: 0 / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001732/0.9155, allocations: 0.6875 MB / 1.285 GB, free: 3.441 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.9155, allocations: 63.39 kB / 1.285 GB, free: 3.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.9161, allocations: 494 kB / 1.285 GB, free: 2.871 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.9161, allocations: 37.7 kB / 1.285 GB, free: 2.828 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.9163, allocations: 256.1 kB / 1.285 GB, free: 2.574 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.9164, allocations: 130.3 kB / 1.286 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.9166, allocations: 89.97 kB / 1.286 GB, free: 2.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9167, allocations: 366.8 kB / 1.286 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.9172, allocations: 200.8 kB / 1.286 GB, free: 1.789 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.9178, allocations: 316 kB / 1.286 GB, free: 1.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.9188, allocations: 0.5377 MB / 1.287 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9188, allocations: 11.88 kB / 1.287 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00124/0.9201, allocations: 0.6522 MB / 1.288 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.9201, allocations: 63.44 kB / 1.288 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9201, allocations: 4 kB / 1.288 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.9202, allocations: 8 kB / 1.288 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.9206, allocations: 91.92 kB / 1.288 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9207, allocations: 11.94 kB / 1.288 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.9212, allocations: 79.28 kB / 1.288 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.9212, allocations: 23.98 kB / 1.288 GB, free: 15.88 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.0002191/0.9215, allocations: 195.3 kB / 1.288 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.9215, allocations: 51.34 kB / 1.288 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.9227, allocations: 0.5382 MB / 1.289 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9227, allocations: 8 kB / 1.289 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9227, allocations: 0 / 1.289 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9228, allocations: 0 / 1.289 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.9249, allocations: 1.352 MB / 1.29 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.925, allocations: 4 kB / 1.29 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.9254, allocations: 71.89 kB / 1.29 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9254, allocations: 4 kB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.9254, allocations: 19.98 kB / 1.29 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.9254, allocations: 7.938 kB / 1.29 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9254, allocations: 4.375 kB / 1.29 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.9271, allocations: 0.9433 MB / 1.291 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.9273, allocations: 172.4 kB / 1.291 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.9274, allocations: 12 kB / 1.291 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.9278, allocations: 31.95 kB / 1.291 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9279, allocations: 59.88 kB / 1.291 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.928, allocations: 15.98 kB / 1.291 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003712/0.9284, allocations: 346.8 kB / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9284, allocations: 0 / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005388/0.9289, allocations: 151.8 kB / 1.292 GB, free: 11.72 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.002177/0.9311, allocations: 1.58 MB / 1.293 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9322, allocations: 0.5884 MB / 1.294 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9323, allocations: 0.75 kB / 1.294 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.9329, allocations: 287.8 kB / 1.294 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.9342, allocations: 289.8 kB / 1.294 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006819/0.941, allocations: 4.991 MB / 1.299 GB, free: 3.652 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.9415, allocations: 0.8665 MB / 1.3 GB, free: 2.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004184/0.9419, allocations: 128.7 kB / 1.3 GB, free: 2.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.9422, allocations: 179.4 kB / 1.3 GB, free: 2.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.9422, allocations: 0 / 1.3 GB, free: 2.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9658/1.908, allocations: 15.85 MB / 1.316 GB, free: 2.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.93, allocations: 10.55 kB / 1.316 GB, free: 2.891 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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