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.001031/0.001031, allocations: 97.64 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.008053/0.008053, allocations: 170.1 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.214/2.214, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6099, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.181/0.7909, allocations: 177.2 MB / 1.128 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005726/0.7967, allocations: 4.436 MB / 1.133 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.7971, allocations: 19.88 kB / 1.133 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.7977, allocations: 194.7 kB / 1.133 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.7994, allocations: 0.7194 MB / 1.133 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.8025, allocations: 1.398 MB / 1.135 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.8042, allocations: 1.675 MB / 1.136 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.8047, allocations: 373.7 kB / 1.137 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008397/0.8055, allocations: 0.5213 MB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.806, allocations: 418.2 kB / 1.138 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.8061, allocations: 28 kB / 1.138 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.8088, allocations: 1.804 MB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.809, allocations: 159.5 kB / 1.14 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.8093, allocations: 312.2 kB / 1.14 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.811, allocations: 1.379 MB / 1.141 GB, free: 100 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.811, allocations: 0 / 1.141 GB, free: 100 kB / 0.8887 GB Notification: Performance of FrontEnd: time 3.717e-06/0.811, allocations: 3.938 kB / 1.141 GB, free: 96 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.811, allocations: 3.938 kB / 1.141 GB, free: 92 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.001558/0.8126, allocations: 0.9125 MB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8126, allocations: 8.031 kB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.8127, allocations: 98.39 kB / 1.142 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.8147, allocations: 279 kB / 1.143 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.8154, allocations: 441.5 kB / 1.143 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.8154, allocations: 29 kB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.8155, allocations: 47.98 kB / 1.143 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.8166, allocations: 0.5703 MB / 1.144 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8166, allocations: 3.938 kB / 1.144 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.8166, allocations: 19.94 kB / 1.144 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.8167, allocations: 12 kB / 1.144 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.8177, allocations: 491.5 kB / 1.144 GB, free: 13.07 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.002448/0.8202, allocations: 2.127 MB / 1.146 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.8212, allocations: 442.4 kB / 1.147 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.8217, allocations: 245.3 kB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.8224, allocations: 416.2 kB / 1.147 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/0.8231, allocations: 314.8 kB / 1.148 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.345e-06/0.8231, allocations: 0 / 1.148 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001852/0.825, allocations: 0.7305 MB / 1.148 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.825, allocations: 63.16 kB / 1.148 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.8256, allocations: 498.1 kB / 1.149 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.8257, allocations: 33.7 kB / 1.149 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8259, allocations: 264 kB / 1.149 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.826, allocations: 130.2 kB / 1.149 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.8261, allocations: 37.7 kB / 1.149 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8262, allocations: 366.8 kB / 1.15 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.8267, allocations: 212.8 kB / 1.15 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.8273, allocations: 332.1 kB / 1.15 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8284, allocations: 0.5762 MB / 1.151 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8284, allocations: 4 kB / 1.151 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001352/0.8298, allocations: 0.6797 MB / 1.151 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.8299, allocations: 65.12 kB / 1.151 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8299, allocations: 0 / 1.151 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.8299, allocations: 8 kB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.8304, allocations: 103.8 kB / 1.151 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.8304, allocations: 8 kB / 1.151 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.831, allocations: 95.38 kB / 1.152 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.8311, allocations: 23.94 kB / 1.152 GB, free: 4.961 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.0002575/0.8314, allocations: 197.6 kB / 1.152 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.8314, allocations: 55.34 kB / 1.152 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.8327, allocations: 0.5658 MB / 1.152 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8327, allocations: 4 kB / 1.152 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8327, allocations: 0 / 1.152 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.8328, allocations: 3.984 kB / 1.152 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.835, allocations: 1.377 MB / 1.154 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.835, allocations: 8.094 kB / 1.154 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.8354, allocations: 91.81 kB / 1.154 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8354, allocations: 4 kB / 1.154 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.8355, allocations: 12 kB / 1.154 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.8355, allocations: 4 kB / 1.154 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8355, allocations: 4 kB / 1.154 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.8372, allocations: 1 MB / 1.155 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.8374, allocations: 164.3 kB / 1.155 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.8375, allocations: 24.05 kB / 1.155 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.838, allocations: 51.86 kB / 1.155 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8381, allocations: 51.88 kB / 1.155 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.8382, allocations: 19.98 kB / 1.155 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003814/0.8386, allocations: 338.8 kB / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8386, allocations: 0 / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006483/0.8392, allocations: 155.8 kB / 1.156 GB, free: 0.6484 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.00239/0.8416, allocations: 1.622 MB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.8429, allocations: 0.6121 MB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8429, allocations: 4.188 kB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.8436, allocations: 308.5 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.8452, allocations: 267.7 kB / 1.158 GB, free: 13.76 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.8529, allocations: 5.377 MB / 1.164 GB, free: 8.137 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.8534, allocations: 0.8704 MB / 1.164 GB, free: 7.238 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.8539, allocations: 128.7 kB / 1.165 GB, free: 7.109 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.8542, allocations: 175.4 kB / 1.165 GB, free: 6.938 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/0.8542, allocations: 0 / 1.165 GB, free: 6.938 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.19/2.045, allocations: 14.85 MB / 1.179 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/2.045, allocations: 240 kB / 1.179 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.096/6.141, allocations: 0 / 1.179 GB, free: 8.121 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