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.004699/0.004699, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001349/0.001349, allocations: 194.8 kB / 16.67 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.384/2.384, allocations: 437.1 MB / 0.7106 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 63.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2313, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5993/0.8306, allocations: 181.8 MB / 1.344 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005429/0.8361, allocations: 4.448 MB / 1.348 GB, free: 5.848 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.8365, allocations: 20.47 kB / 1.348 GB, free: 5.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.8372, allocations: 250.4 kB / 1.348 GB, free: 5.668 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.8387, allocations: 0.7542 MB / 1.349 GB, free: 5.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.8417, allocations: 1.515 MB / 1.351 GB, free: 4.504 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.8429, allocations: 1.262 MB / 1.352 GB, free: 3.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.8434, allocations: 454.8 kB / 1.352 GB, free: 3.738 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.8442, allocations: 0.5737 MB / 1.353 GB, free: 3.488 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.8446, allocations: 411.8 kB / 1.353 GB, free: 3.309 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.8447, allocations: 45.91 kB / 1.353 GB, free: 3.309 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.8468, allocations: 1.541 MB / 1.355 GB, free: 2.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.847, allocations: 191.1 kB / 1.355 GB, free: 2.598 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.8473, allocations: 300.1 kB / 1.355 GB, free: 2.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.8488, allocations: 1.309 MB / 1.356 GB, free: 1.984 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.8488, allocations: 1.094 kB / 1.356 GB, free: 1.984 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8488, allocations: 0 / 1.356 GB, free: 1.984 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.8488, allocations: 4 kB / 1.356 GB, free: 1.98 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.001522/0.8503, allocations: 1.04 MB / 1.357 GB, free: 1.195 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.8504, allocations: 10 kB / 1.358 GB, free: 1.195 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.8504, allocations: 78.91 kB / 1.358 GB, free: 1.133 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.8522, allocations: 287.5 kB / 1.358 GB, free: 1.074 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.8528, allocations: 482.9 kB / 1.358 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.8529, allocations: 34.38 kB / 1.358 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.8529, allocations: 41.28 kB / 1.358 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/0.8539, allocations: 0.548 MB / 1.359 GB, free: 464 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8539, allocations: 0 / 1.359 GB, free: 464 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.8539, allocations: 16.44 kB / 1.359 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.8539, allocations: 14.56 kB / 1.359 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009487/0.8549, allocations: 460.3 kB / 1.359 GB, free: 312 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.002171/0.8571, allocations: 2.124 MB / 1.361 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.8579, allocations: 410.4 kB / 1.362 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.8584, allocations: 230.4 kB / 1.362 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.859, allocations: 402.3 kB / 1.362 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.8595, allocations: 291.5 kB / 1.363 GB, free: 14.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.8595, allocations: 1.125 kB / 1.363 GB, free: 14.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001587/0.8611, allocations: 0.6947 MB / 1.363 GB, free: 13.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.8612, allocations: 55.62 kB / 1.363 GB, free: 13.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.8617, allocations: 496.4 kB / 1.364 GB, free: 13.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.8617, allocations: 36.64 kB / 1.364 GB, free: 13.28 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.8619, allocations: 264.5 kB / 1.364 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.862, allocations: 128 kB / 1.364 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.8622, allocations: 92.83 kB / 1.364 GB, free: 12.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8623, allocations: 360.2 kB / 1.365 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.8628, allocations: 195.2 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.8633, allocations: 318.2 kB / 1.365 GB, free: 12.22 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.8643, allocations: 0.5424 MB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8643, allocations: 9.312 kB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001201/0.8655, allocations: 0.6518 MB / 1.366 GB, free: 11.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.8655, allocations: 67.33 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8656, allocations: 3.5 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8656, allocations: 4.844 kB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.866, allocations: 95.75 kB / 1.367 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.866, allocations: 5.125 kB / 1.367 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.8664, allocations: 84.64 kB / 1.367 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.8665, allocations: 19.91 kB / 1.367 GB, free: 11.32 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.0001946/0.8667, allocations: 191.8 kB / 1.367 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.8668, allocations: 57.61 kB / 1.367 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.8678, allocations: 0.5447 MB / 1.367 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.8678, allocations: 2.656 kB / 1.367 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8679, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.8679, allocations: 6.547 kB / 1.367 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.8699, allocations: 1.348 MB / 1.369 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8699, allocations: 10.58 kB / 1.369 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.8703, allocations: 74.52 kB / 1.369 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.8703, allocations: 4.562 kB / 1.369 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.8703, allocations: 12.09 kB / 1.369 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.8703, allocations: 12.42 kB / 1.369 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8704, allocations: 8.344 kB / 1.369 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.8719, allocations: 0.9312 MB / 1.37 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.8721, allocations: 178.8 kB / 1.37 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.8722, allocations: 10.88 kB / 1.37 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.8727, allocations: 37.89 kB / 1.37 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8729, allocations: 52.45 kB / 1.37 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.8729, allocations: 12.38 kB / 1.37 GB, free: 8.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005606/0.8735, allocations: 349.6 kB / 1.37 GB, free: 8.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8735, allocations: 0 / 1.37 GB, free: 8.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007835/0.8743, allocations: 157 kB / 1.371 GB, free: 8.719 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.003171/0.8775, allocations: 1.567 MB / 1.372 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.8788, allocations: 0.585 MB / 1.373 GB, free: 7.188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.8788, allocations: 7.031 kB / 1.373 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.8794, allocations: 285.6 kB / 1.373 GB, free: 7.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.8807, allocations: 297.2 kB / 1.373 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.887, allocations: 5.007 MB / 1.378 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.8874, allocations: 0.8728 MB / 1.379 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00036/0.8878, allocations: 128.7 kB / 1.379 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.888, allocations: 180 kB / 1.379 GB, free: 2.445 MB / 1.045 GB Notification: Performance of SimCode: time 2.3e-07/0.888, allocations: 0 / 1.379 GB, free: 2.445 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.876/3.764, allocations: 15.85 MB / 1.395 GB, free: 10 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/18.96, allocations: 16.94 kB / 1.395 GB, free: 9.984 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 & /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=400 --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