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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001589/0.001589, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6643 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.621, allocations: 140.4 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1805/0.8015, allocations: 179.5 MB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.8075, allocations: 4.485 MB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.8082, allocations: 19.88 kB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.8089, allocations: 190.7 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.8118, allocations: 0.7117 MB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.8166, allocations: 1.406 MB / 1.131 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.8185, allocations: 1.687 MB / 1.133 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.8193, allocations: 374.2 kB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.8205, allocations: 0.5214 MB / 1.134 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.8211, allocations: 418.2 kB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.8212, allocations: 32 kB / 1.134 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.8242, allocations: 1.812 MB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.8245, allocations: 171.5 kB / 1.136 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.825, allocations: 294.5 kB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.8273, allocations: 1.391 MB / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8273, allocations: 0 / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8273, allocations: 0 / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.8274, allocations: 3.938 kB / 1.138 GB, free: 440 kB / 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.002/0.8294, allocations: 1.014 MB / 1.139 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8294, allocations: 12.03 kB / 1.139 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.8295, allocations: 82.52 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.8317, allocations: 282.8 kB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.8325, allocations: 437.4 kB / 1.139 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.8325, allocations: 37 kB / 1.139 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.8326, allocations: 43.98 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.8337, allocations: 0.5468 MB / 1.14 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.8337, allocations: 8 kB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.8337, allocations: 19.94 kB / 1.14 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8338, allocations: 8 kB / 1.14 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.8348, allocations: 459.5 kB / 1.14 GB, free: 13.37 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.002527/0.8374, allocations: 2.127 MB / 1.142 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.8384, allocations: 415.9 kB / 1.143 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.8389, allocations: 221.3 kB / 1.143 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.8395, allocations: 400.2 kB / 1.143 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.8401, allocations: 298.8 kB / 1.144 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/0.8402, allocations: 0 / 1.144 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001795/0.842, allocations: 0.6914 MB / 1.144 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.842, allocations: 59.16 kB / 1.144 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.8426, allocations: 494.1 kB / 1.145 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.8426, allocations: 37.7 kB / 1.145 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.8428, allocations: 256.1 kB / 1.145 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.8429, allocations: 130.2 kB / 1.145 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.8431, allocations: 94.03 kB / 1.145 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8432, allocations: 358.8 kB / 1.146 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.8437, allocations: 200.8 kB / 1.146 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.8443, allocations: 324 kB / 1.146 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/0.8453, allocations: 0.5412 MB / 1.147 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.8453, allocations: 3.938 kB / 1.147 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001313/0.8466, allocations: 0.6482 MB / 1.147 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.8467, allocations: 59.41 kB / 1.148 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8467, allocations: 4 kB / 1.148 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8467, allocations: 4 kB / 1.148 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.8472, allocations: 95.88 kB / 1.148 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8472, allocations: 11.92 kB / 1.148 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.8478, allocations: 87.66 kB / 1.148 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.8479, allocations: 20 kB / 1.148 GB, free: 5.453 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.0002252/0.8481, allocations: 193.6 kB / 1.148 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.8482, allocations: 63.28 kB / 1.148 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.8494, allocations: 0.5306 MB / 1.148 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8494, allocations: 4 kB / 1.148 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8494, allocations: 64 / 1.148 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.8494, allocations: 7.984 kB / 1.148 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.8517, allocations: 1.354 MB / 1.15 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8517, allocations: 4 kB / 1.15 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.8521, allocations: 80.31 kB / 1.15 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.8521, allocations: 8 kB / 1.15 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.8522, allocations: 8 kB / 1.15 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.8522, allocations: 11.94 kB / 1.15 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8522, allocations: 4 kB / 1.15 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.8539, allocations: 0.9443 MB / 1.151 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.8541, allocations: 168.3 kB / 1.151 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.8542, allocations: 11.98 kB / 1.151 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.8547, allocations: 39.95 kB / 1.151 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.8548, allocations: 51.89 kB / 1.151 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.8549, allocations: 19.98 kB / 1.151 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003856/0.8553, allocations: 346.8 kB / 1.151 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8553, allocations: 0 / 1.151 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005753/0.8559, allocations: 147.8 kB / 1.152 GB, free: 1.273 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.002316/0.8582, allocations: 1.561 MB / 1.153 GB, free: 15.65 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.8594, allocations: 0.5804 MB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8594, allocations: 0 / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.8601, allocations: 293.2 kB / 1.154 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.8615, allocations: 283.8 kB / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007658/0.8691, allocations: 5.244 MB / 1.159 GB, free: 8.992 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.8696, allocations: 0.8665 MB / 1.16 GB, free: 8.098 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000565/0.8702, allocations: 128.7 kB / 1.16 GB, free: 7.969 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.8705, allocations: 179.4 kB / 1.161 GB, free: 7.793 MB / 0.92 GB Notification: Performance of SimCode: time 6.52e-07/0.8705, allocations: 3.938 kB / 1.161 GB, free: 7.789 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.9122, allocations: 15.02 MB / 1.175 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.9125, allocations: 246.9 kB / 1.175 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.968, allocations: 4 kB / 1.175 GB, free: 8.785 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