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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 60.05 kB / 0.8686 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7241, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2991/1.023, allocations: 179.5 MB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007798/1.031, allocations: 4.478 MB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/1.032, allocations: 19.88 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/1.033, allocations: 186.8 kB / 1.197 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/1.035, allocations: 0.7234 MB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/1.039, allocations: 1.401 MB / 1.199 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001904/1.041, allocations: 1.691 MB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/1.041, allocations: 382.2 kB / 1.201 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/1.042, allocations: 0.5213 MB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/1.043, allocations: 414.3 kB / 1.202 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/1.043, allocations: 32 kB / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/1.046, allocations: 1.812 MB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/1.047, allocations: 171.4 kB / 1.204 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/1.047, allocations: 294.5 kB / 1.204 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002375/1.049, allocations: 1.387 MB / 1.205 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.049, allocations: 4 kB / 1.205 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.173e-06/1.049, allocations: 0 / 1.205 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.05, allocations: 0 / 1.205 GB, free: 1.148 MB / 0.9512 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.001882/1.051, allocations: 1.027 MB / 1.206 GB, free: 64 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.051, allocations: 8.031 kB / 1.206 GB, free: 56 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/1.052, allocations: 86.59 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/1.054, allocations: 279 kB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/1.055, allocations: 449.2 kB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.055, allocations: 33 kB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/1.055, allocations: 47.98 kB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.056, allocations: 0.5507 MB / 1.208 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.056, allocations: 0 / 1.208 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/1.056, allocations: 19.94 kB / 1.208 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.056, allocations: 12 kB / 1.208 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.057, allocations: 459.5 kB / 1.208 GB, free: 14.06 MB / 0.9669 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.002761/1.06, allocations: 2.112 MB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.061, allocations: 410.4 kB / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/1.061, allocations: 224.7 kB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/1.062, allocations: 400.3 kB / 1.211 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/1.063, allocations: 286.9 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/1.063, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001932/1.065, allocations: 0.6912 MB / 1.212 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.065, allocations: 59.41 kB / 1.212 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/1.066, allocations: 494.1 kB / 1.213 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/1.066, allocations: 37.7 kB / 1.213 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/1.066, allocations: 260 kB / 1.213 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.066, allocations: 126.3 kB / 1.213 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.066, allocations: 90.03 kB / 1.213 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.066, allocations: 366.8 kB / 1.213 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/1.067, allocations: 200.8 kB / 1.214 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/1.067, allocations: 320 kB / 1.214 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.069, allocations: 0.5414 MB / 1.214 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.069, allocations: 3.938 kB / 1.214 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001321/1.07, allocations: 0.656 MB / 1.215 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/1.07, allocations: 59.41 kB / 1.215 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.07, allocations: 4.062 kB / 1.215 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.07, allocations: 11.94 kB / 1.215 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/1.07, allocations: 95.88 kB / 1.215 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.07, allocations: 7.938 kB / 1.215 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/1.071, allocations: 91.62 kB / 1.215 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/1.071, allocations: 20 kB / 1.215 GB, free: 6.156 MB / 0.9669 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.0002594/1.071, allocations: 192.4 kB / 1.216 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/1.072, allocations: 59.28 kB / 1.216 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/1.073, allocations: 0.5332 MB / 1.216 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.073, allocations: 4 kB / 1.216 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.073, allocations: 0 / 1.216 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.073, allocations: 3.984 kB / 1.216 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.075, allocations: 1.35 MB / 1.217 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.075, allocations: 8.031 kB / 1.218 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/1.076, allocations: 71.88 kB / 1.218 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.076, allocations: 8 kB / 1.218 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/1.076, allocations: 12 kB / 1.218 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/1.076, allocations: 11.94 kB / 1.218 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.076, allocations: 4 kB / 1.218 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/1.078, allocations: 0.9379 MB / 1.219 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/1.078, allocations: 176.3 kB / 1.219 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/1.078, allocations: 16 kB / 1.219 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/1.078, allocations: 35.95 kB / 1.219 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.079, allocations: 55.88 kB / 1.219 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.079, allocations: 16 kB / 1.219 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004261/1.079, allocations: 342.8 kB / 1.219 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.219 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006573/1.08, allocations: 159.8 kB / 1.219 GB, free: 1.988 MB / 0.9669 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.002419/1.082, allocations: 1.561 MB / 1.221 GB, free: 376 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.083, allocations: 0.5724 MB / 1.221 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.083, allocations: 0 / 1.221 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/1.084, allocations: 293 kB / 1.222 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.086, allocations: 290.2 kB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/1.094, allocations: 5.241 MB / 1.227 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/1.094, allocations: 0.8782 MB / 1.228 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006169/1.095, allocations: 128.7 kB / 1.228 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/1.095, allocations: 171.4 kB / 1.228 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of SimCode: time 1.282e-06/1.095, allocations: 0 / 1.228 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/1.126, allocations: 15 MB / 1.243 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.126, allocations: 253.1 kB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.514, allocations: 0 / 1.243 GB, free: 9.523 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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