Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_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.001861/0.001861, allocations: 108 kB / 15.61 MB, free: 152 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.002238/0.002238, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.67 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2248/0.4995, allocations: 181.8 MB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.5058, allocations: 4.457 MB / 1.246 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.5065, allocations: 19.88 kB / 1.246 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.5073, allocations: 246.1 kB / 1.246 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.5092, allocations: 0.7541 MB / 1.247 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.5126, allocations: 1.512 MB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4982/1.011, allocations: 1.25 MB / 1.249 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009323/1.012, allocations: 444 kB / 1.25 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/1.013, allocations: 0.577 MB / 1.25 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/1.014, allocations: 409.3 kB / 1.251 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/1.014, allocations: 46.03 kB / 1.251 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/1.017, allocations: 1.543 MB / 1.252 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/1.017, allocations: 186.9 kB / 1.252 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/1.018, allocations: 302 kB / 1.253 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/1.02, allocations: 1.291 MB / 1.254 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.02, allocations: 1.031 kB / 1.254 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.02, allocations: 1.875 kB / 1.254 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.53e-05/1.02, allocations: 0 / 1.254 GB, free: 5.895 MB / 0.9981 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.002213/1.022, allocations: 1.019 MB / 1.255 GB, free: 21.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.022, allocations: 9.594 kB / 1.255 GB, free: 21.26 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.758e-05/1.023, allocations: 77.27 kB / 1.255 GB, free: 21.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/1.025, allocations: 285.6 kB / 1.255 GB, free: 21.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/1.025, allocations: 444.2 kB / 1.256 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/1.025, allocations: 39.16 kB / 1.256 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/1.025, allocations: 40.06 kB / 1.256 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/1.026, allocations: 0.5482 MB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.026, allocations: 3.188 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/1.026, allocations: 21.41 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.026, allocations: 12.34 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/1.027, allocations: 456.8 kB / 1.257 GB, free: 20.83 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.002517/1.03, allocations: 2.129 MB / 1.259 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/1.031, allocations: 413.5 kB / 1.259 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/1.031, allocations: 221.8 kB / 1.259 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/1.032, allocations: 397.9 kB / 1.26 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/1.033, allocations: 294.5 kB / 1.26 GB, free: 19.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/1.033, allocations: 1.094 kB / 1.26 GB, free: 19.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.00175/1.034, allocations: 0.685 MB / 1.261 GB, free: 19.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.035, allocations: 65.17 kB / 1.261 GB, free: 18.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/1.035, allocations: 497 kB / 1.261 GB, free: 18.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/1.035, allocations: 39.61 kB / 1.261 GB, free: 18.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/1.035, allocations: 256.9 kB / 1.262 GB, free: 18.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/1.035, allocations: 125.7 kB / 1.262 GB, free: 18.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.036, allocations: 91.59 kB / 1.262 GB, free: 18.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.036, allocations: 366.7 kB / 1.262 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/1.036, allocations: 198.5 kB / 1.262 GB, free: 18.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/1.037, allocations: 314.2 kB / 1.263 GB, free: 18.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/1.038, allocations: 0.5423 MB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.038, allocations: 0.9062 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001236/1.039, allocations: 0.652 MB / 1.264 GB, free: 17.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.039, allocations: 61.77 kB / 1.264 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.039, allocations: 3.375 kB / 1.264 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.039, allocations: 5.594 kB / 1.264 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/1.039, allocations: 98.25 kB / 1.264 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.039, allocations: 4.938 kB / 1.264 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/1.04, allocations: 73.55 kB / 1.264 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/1.04, allocations: 29.94 kB / 1.264 GB, free: 17.8 MB / 1.014 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.000227/1.04, allocations: 202.3 kB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/1.04, allocations: 55.25 kB / 1.264 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/1.042, allocations: 0.5418 MB / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.042, allocations: 3.688 kB / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.042, allocations: 0 / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.042, allocations: 1.922 kB / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.044, allocations: 1.358 MB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.044, allocations: 6.125 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/1.044, allocations: 73.05 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.044, allocations: 7.266 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.044, allocations: 15.28 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.044, allocations: 6.156 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.044, allocations: 6.625 kB / 1.266 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/1.046, allocations: 0.9346 MB / 1.267 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/1.046, allocations: 171.5 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/1.046, allocations: 11.62 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/1.047, allocations: 33.28 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.047, allocations: 53.08 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/1.047, allocations: 18.28 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000507/1.048, allocations: 345.7 kB / 1.268 GB, free: 16.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.342e-06/1.048, allocations: 1.094 kB / 1.268 GB, free: 16.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007278/1.048, allocations: 156.4 kB / 1.268 GB, free: 16.65 MB / 1.014 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.002429/1.051, allocations: 1.583 MB / 1.269 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.052, allocations: 0.5979 MB / 1.27 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.052, allocations: 1.938 kB / 1.27 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/1.053, allocations: 287.6 kB / 1.27 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.055, allocations: 281.2 kB / 1.271 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/1.063, allocations: 5.097 MB / 1.276 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/1.063, allocations: 0.8731 MB / 1.276 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006257/1.064, allocations: 126.8 kB / 1.277 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/1.064, allocations: 176.7 kB / 1.277 GB, free: 12.81 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.064, allocations: 0 / 1.277 GB, free: 12.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/1.099, allocations: 15.72 MB / 1.292 GB, free: 11.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/9.251, allocations: 17.2 kB / 1.292 GB, free: 11.68 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches