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.001478/0.001478, 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.001245/0.001245, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.435/2.435, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6401, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.198/0.8381, allocations: 181.8 MB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006212/0.8444, allocations: 4.453 MB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.8451, allocations: 19.88 kB / 1.199 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.8459, allocations: 246.1 kB / 1.2 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.8479, allocations: 0.758 MB / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.8515, allocations: 1.511 MB / 1.202 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.853, allocations: 1.258 MB / 1.203 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.8537, allocations: 445.3 kB / 1.203 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.8548, allocations: 0.5683 MB / 1.204 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.8554, allocations: 410.2 kB / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.8555, allocations: 48 kB / 1.204 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.8583, allocations: 1.539 MB / 1.206 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.8586, allocations: 187.5 kB / 1.206 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.8591, allocations: 302.5 kB / 1.206 GB, free: 300 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.8619, allocations: 1.29 MB / 1.208 GB, free: 15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.862, allocations: 4 kB / 1.208 GB, free: 15 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.607e-06/0.862, allocations: 15.92 kB / 1.208 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.862, allocations: 0 / 1.208 GB, free: 14.98 MB / 0.9669 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.002544/0.8646, allocations: 1.006 MB / 1.209 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.8646, allocations: 8.031 kB / 1.209 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.8648, allocations: 90.52 kB / 1.209 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.8671, allocations: 286.9 kB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.868, allocations: 441.4 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.868, allocations: 33 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.8681, allocations: 47.98 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.8693, allocations: 0.5468 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.8693, allocations: 0 / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.8693, allocations: 19.94 kB / 1.21 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.8694, allocations: 12 kB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.8706, allocations: 459.5 kB / 1.21 GB, free: 11.91 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.003233/0.8738, allocations: 2.131 MB / 1.213 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8749, allocations: 406.4 kB / 1.213 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.8755, allocations: 228.7 kB / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/0.8764, allocations: 400.3 kB / 1.214 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/0.8771, allocations: 286.9 kB / 1.214 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 3.226e-06/0.8771, allocations: 4 kB / 1.214 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001993/0.8791, allocations: 0.6834 MB / 1.215 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.8791, allocations: 63.39 kB / 1.215 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.8798, allocations: 498.1 kB / 1.215 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.8799, allocations: 37.7 kB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.8801, allocations: 260 kB / 1.215 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.8802, allocations: 122.3 kB / 1.215 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.8804, allocations: 94.02 kB / 1.216 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8806, allocations: 362.8 kB / 1.216 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.8811, allocations: 200.8 kB / 1.216 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.8817, allocations: 312 kB / 1.216 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8828, allocations: 0.5492 MB / 1.217 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.8828, allocations: 7.938 kB / 1.217 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001461/0.8843, allocations: 0.6521 MB / 1.218 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.8844, allocations: 59.41 kB / 1.218 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8844, allocations: 0 / 1.218 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.8844, allocations: 11.98 kB / 1.218 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.8849, allocations: 87.95 kB / 1.218 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.885, allocations: 19.92 kB / 1.218 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.8856, allocations: 75.73 kB / 1.218 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.8857, allocations: 23.94 kB / 1.218 GB, free: 4.012 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.0003036/0.886, allocations: 193.6 kB / 1.218 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.8861, allocations: 51.34 kB / 1.218 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.8875, allocations: 0.5371 MB / 1.219 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.8875, allocations: 7.938 kB / 1.219 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.8875, allocations: 0 / 1.219 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.8875, allocations: 7.984 kB / 1.219 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.89, allocations: 1.346 MB / 1.22 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.89, allocations: 4 kB / 1.22 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.8904, allocations: 76.31 kB / 1.22 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.8904, allocations: 8 kB / 1.22 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.8905, allocations: 16 kB / 1.22 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.8905, allocations: 7.938 kB / 1.22 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8905, allocations: 4 kB / 1.22 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.8923, allocations: 0.9339 MB / 1.221 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.8926, allocations: 172.4 kB / 1.221 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.8927, allocations: 15.98 kB / 1.221 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.8932, allocations: 27.97 kB / 1.221 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8933, allocations: 59.81 kB / 1.221 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.8934, allocations: 12 kB / 1.221 GB, free: 352 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004661/0.8938, allocations: 350.8 kB / 1.222 GB, free: 4 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8938, allocations: 0 / 1.222 GB, free: 4 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006437/0.8945, allocations: 155.8 kB / 1.222 GB, free: 15.85 MB / 0.9825 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.00235/0.8968, allocations: 1.56 MB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.8982, allocations: 0.6002 MB / 1.224 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8982, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.8989, allocations: 290.1 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.9004, allocations: 294.3 kB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/0.9082, allocations: 5.095 MB / 1.229 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.9088, allocations: 0.8704 MB / 1.23 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005868/0.9094, allocations: 128.7 kB / 1.23 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.9097, allocations: 171.4 kB / 1.23 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.9097, allocations: 4 kB / 1.23 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07377/0.9835, allocations: 15.72 MB / 1.246 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.9, allocations: 5.25 kB / 1.246 GB, free: 7.035 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