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.001104/0.001104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007941/0.007941, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.544/2.544, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6586, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1854/0.8441, allocations: 177.2 MB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006471/0.8506, allocations: 4.433 MB / 1.2 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.8513, allocations: 19.81 kB / 1.201 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.852, allocations: 182.8 kB / 1.201 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.854, allocations: 0.7156 MB / 1.201 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.8575, allocations: 1.402 MB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.8593, allocations: 1.687 MB / 1.204 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.86, allocations: 373.7 kB / 1.205 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.8611, allocations: 0.5136 MB / 1.205 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.8617, allocations: 410.2 kB / 1.206 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-05/0.8618, allocations: 24 kB / 1.206 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.8647, allocations: 1.816 MB / 1.207 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.865, allocations: 163.5 kB / 1.208 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.8654, allocations: 308.2 kB / 1.208 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.8676, allocations: 1.375 MB / 1.209 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8676, allocations: 0 / 1.209 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8676, allocations: 0 / 1.209 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.8676, allocations: 4 kB / 1.209 GB, free: 0.5352 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.001786/0.8694, allocations: 0.9279 MB / 1.21 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8695, allocations: 19.97 kB / 1.21 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.8696, allocations: 86.45 kB / 1.21 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.8716, allocations: 279 kB / 1.211 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.8724, allocations: 445.4 kB / 1.211 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.8724, allocations: 33 kB / 1.211 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.8725, allocations: 47.98 kB / 1.211 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.8736, allocations: 0.5664 MB / 1.212 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.8736, allocations: 0 / 1.212 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.8737, allocations: 19.94 kB / 1.212 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.8737, allocations: 12 kB / 1.212 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.8748, allocations: 487.5 kB / 1.212 GB, free: 13.5 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.002575/0.8774, allocations: 2.131 MB / 1.214 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.8785, allocations: 450.3 kB / 1.215 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.879, allocations: 240.7 kB / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/0.8797, allocations: 412.3 kB / 1.215 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.8804, allocations: 306.9 kB / 1.215 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.8804, allocations: 0 / 1.215 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001908/0.8823, allocations: 0.7381 MB / 1.216 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.8824, allocations: 55.41 kB / 1.216 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.8829, allocations: 498.1 kB / 1.217 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.883, allocations: 37.7 kB / 1.217 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.8832, allocations: 264 kB / 1.217 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.8833, allocations: 118.3 kB / 1.217 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.8834, allocations: 49.69 kB / 1.217 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8836, allocations: 362.8 kB / 1.218 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.8841, allocations: 208.8 kB / 1.218 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.8847, allocations: 332.1 kB / 1.218 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.8859, allocations: 0.592 MB / 1.219 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8859, allocations: 4 kB / 1.219 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001398/0.8873, allocations: 0.6836 MB / 1.219 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.8873, allocations: 59.41 kB / 1.219 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8874, allocations: 4.062 kB / 1.219 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8874, allocations: 8 kB / 1.219 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.8879, allocations: 103.9 kB / 1.219 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.8879, allocations: 11.92 kB / 1.219 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.8885, allocations: 95.42 kB / 1.22 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.8886, allocations: 20 kB / 1.22 GB, free: 5.375 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.000236/0.8888, allocations: 195.5 kB / 1.22 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.8889, allocations: 59.33 kB / 1.22 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.8902, allocations: 0.5644 MB / 1.22 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8902, allocations: 4 kB / 1.22 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8903, allocations: 7.984 kB / 1.22 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8903, allocations: 4 kB / 1.22 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.8926, allocations: 1.384 MB / 1.222 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8927, allocations: 4 kB / 1.222 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.8931, allocations: 79.89 kB / 1.222 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.8931, allocations: 8 kB / 1.222 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.8931, allocations: 8 kB / 1.222 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.8932, allocations: 11.98 kB / 1.222 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8932, allocations: 7.938 kB / 1.222 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.895, allocations: 0.9869 MB / 1.223 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.8952, allocations: 176.4 kB / 1.223 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.8953, allocations: 23.98 kB / 1.223 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.8958, allocations: 43.95 kB / 1.223 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.896, allocations: 55.81 kB / 1.223 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.896, allocations: 12 kB / 1.223 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004224/0.8964, allocations: 346.8 kB / 1.223 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8964, allocations: 0 / 1.223 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005876/0.897, allocations: 159.8 kB / 1.224 GB, free: 1.062 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.002365/0.8994, allocations: 1.603 MB / 1.225 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.9007, allocations: 0.6079 MB / 1.226 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9007, allocations: 4.25 kB / 1.226 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.9014, allocations: 308.5 kB / 1.226 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.9031, allocations: 267.3 kB / 1.226 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.9109, allocations: 5.369 MB / 1.232 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.9114, allocations: 0.8665 MB / 1.232 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.9119, allocations: 124.7 kB / 1.233 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.9122, allocations: 171.4 kB / 1.233 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9122, allocations: 0 / 1.233 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.9425, allocations: 14.86 MB / 1.247 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.9428, allocations: 241.3 kB / 1.247 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.193, allocations: 0 / 1.247 GB, free: 8.586 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