Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_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.001627/0.001627, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002096/0.002096, allocations: 189 kB / 16.25 MB, free: 6.625 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.5541, allocations: 140.4 MB / 0.9492 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1656/0.7197, allocations: 179.4 MB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.7249, allocations: 4.437 MB / 1.129 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000507/0.7254, allocations: 19.88 kB / 1.129 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.726, allocations: 214.6 kB / 1.129 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.7276, allocations: 0.7001 MB / 1.13 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.7305, allocations: 1.412 MB / 1.131 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.7318, allocations: 1.266 MB / 1.132 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.7323, allocations: 433.3 kB / 1.133 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008773/0.7332, allocations: 0.5721 MB / 1.133 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.7337, allocations: 434.2 kB / 1.134 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.7338, allocations: 44 kB / 1.134 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.7358, allocations: 1.601 MB / 1.135 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.736, allocations: 187.4 kB / 1.135 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.7363, allocations: 306.5 kB / 1.136 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.738, allocations: 1.402 MB / 1.137 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.738, allocations: 3.938 kB / 1.137 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.284e-06/0.738, allocations: 4 kB / 1.137 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.738, allocations: 0 / 1.137 GB, free: 0.9727 MB / 0.8887 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.001618/0.7397, allocations: 1.006 MB / 1.138 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7397, allocations: 8.031 kB / 1.138 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.7398, allocations: 82.52 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.7417, allocations: 286.9 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.7424, allocations: 441.4 kB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.7424, allocations: 40.98 kB / 1.139 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.7425, allocations: 48 kB / 1.139 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.7434, allocations: 0.5468 MB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7434, allocations: 3.938 kB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.7435, allocations: 19.94 kB / 1.14 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7435, allocations: 12 kB / 1.14 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.7445, allocations: 459.5 kB / 1.14 GB, free: 13.9 MB / 0.9044 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.002185/0.7467, allocations: 2.112 MB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.7475, allocations: 406.4 kB / 1.142 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.748, allocations: 229.2 kB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/0.7486, allocations: 408.2 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/0.7492, allocations: 294.7 kB / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.7492, allocations: 0 / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001617/0.7508, allocations: 0.6837 MB / 1.144 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.7509, allocations: 63.16 kB / 1.144 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.7514, allocations: 490.1 kB / 1.144 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.7514, allocations: 37.7 kB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.7516, allocations: 260.1 kB / 1.145 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.7517, allocations: 130.2 kB / 1.145 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.7518, allocations: 89.97 kB / 1.145 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7519, allocations: 370.8 kB / 1.145 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.7524, allocations: 192.8 kB / 1.146 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.7529, allocations: 320 kB / 1.146 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.7538, allocations: 0.5372 MB / 1.146 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7539, allocations: 3.938 kB / 1.146 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001149/0.755, allocations: 0.6517 MB / 1.147 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.7551, allocations: 59.41 kB / 1.147 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7551, allocations: 4 kB / 1.147 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7551, allocations: 4.375 kB / 1.147 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.7555, allocations: 103.8 kB / 1.147 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7555, allocations: 4 kB / 1.147 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.756, allocations: 83.47 kB / 1.147 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.7561, allocations: 20 kB / 1.147 GB, free: 6.012 MB / 0.9044 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.0001972/0.7563, allocations: 205.5 kB / 1.147 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.7564, allocations: 51.34 kB / 1.148 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.7575, allocations: 0.5268 MB / 1.148 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7575, allocations: 12 kB / 1.148 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7575, allocations: 0 / 1.148 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.7575, allocations: 3.984 kB / 1.148 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7595, allocations: 1.352 MB / 1.149 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7595, allocations: 4 kB / 1.149 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.7599, allocations: 75.88 kB / 1.149 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.7599, allocations: 4 kB / 1.149 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.76, allocations: 15.94 kB / 1.149 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.76, allocations: 8.375 kB / 1.149 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.76, allocations: 4 kB / 1.149 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.7615, allocations: 0.9458 MB / 1.15 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.7617, allocations: 172.4 kB / 1.151 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.7618, allocations: 15.98 kB / 1.151 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.7622, allocations: 44.02 kB / 1.151 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7624, allocations: 47.83 kB / 1.151 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.7624, allocations: 19.98 kB / 1.151 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003432/0.7627, allocations: 342.8 kB / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7628, allocations: 4 kB / 1.151 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004927/0.7633, allocations: 151.8 kB / 1.151 GB, free: 1.828 MB / 0.9044 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.001978/0.7652, allocations: 1.586 MB / 1.153 GB, free: 184 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.7663, allocations: 0.5925 MB / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7663, allocations: 0 / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.7669, allocations: 287.6 kB / 1.154 GB, free: 15.28 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.7682, allocations: 290.9 kB / 1.154 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.7747, allocations: 5.241 MB / 1.159 GB, free: 9.504 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.775, allocations: 0.8626 MB / 1.16 GB, free: 8.613 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004689/0.7755, allocations: 128.7 kB / 1.16 GB, free: 8.484 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.7758, allocations: 175.4 kB / 1.16 GB, free: 8.312 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.7758, allocations: 0 / 1.16 GB, free: 8.312 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.875/4.65, allocations: 15.47 MB / 1.175 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/4.651, allocations: 248.8 kB / 1.175 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/8.681, allocations: 0 / 1.175 GB, free: 8.887 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches