Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_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.0007705/0.0007706, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004784/0.004784, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 15.59 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3176, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1838/0.5015, allocations: 177.2 MB / 1.232 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.5078, allocations: 4.429 MB / 1.236 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.5084, allocations: 19.88 kB / 1.236 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.5093, allocations: 190.8 kB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.5113, allocations: 0.7117 MB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.5147, allocations: 1.404 MB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.5166, allocations: 1.687 MB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.5173, allocations: 377.7 kB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.5184, allocations: 0.5097 MB / 1.241 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00065/0.5191, allocations: 414.2 kB / 1.241 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.5192, allocations: 28 kB / 1.241 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.522, allocations: 1.816 MB / 1.243 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.5222, allocations: 163.5 kB / 1.243 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.5226, allocations: 308.2 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.5248, allocations: 1.371 MB / 1.245 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5248, allocations: 0 / 1.245 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5249, allocations: 0 / 1.245 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.5249, allocations: 0 / 1.245 GB, free: 5.602 MB / 0.9981 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.001796/0.5267, allocations: 0.928 MB / 1.246 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5267, allocations: 15.97 kB / 1.246 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.5269, allocations: 90.45 kB / 1.246 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.5289, allocations: 283 kB / 1.246 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.5296, allocations: 445.4 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.5296, allocations: 32.98 kB / 1.247 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.5297, allocations: 44 kB / 1.247 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5307, allocations: 0.5625 MB / 1.247 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5308, allocations: 4 kB / 1.247 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.5308, allocations: 19.94 kB / 1.247 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5308, allocations: 8 kB / 1.247 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5319, allocations: 499.5 kB / 1.248 GB, free: 2.551 MB / 0.9981 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.00231/0.5342, allocations: 2.131 MB / 1.25 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4895/1.024, allocations: 433.3 kB / 1.25 GB, free: 193 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/1.024, allocations: 248.8 kB / 1.25 GB, free: 193 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/1.025, allocations: 408.5 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006642/1.026, allocations: 309.4 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.374e-06/1.026, allocations: 3.969 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001936/1.028, allocations: 0.731 MB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.028, allocations: 68.03 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/1.028, allocations: 491.2 kB / 1.252 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/1.028, allocations: 35.77 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.029, allocations: 259.3 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/1.029, allocations: 130.3 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/1.029, allocations: 44.31 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/1.029, allocations: 367 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/1.029, allocations: 219.3 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/1.03, allocations: 329.1 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.031, allocations: 0.5715 MB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.031, allocations: 4.594 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001192/1.032, allocations: 0.6776 MB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.032, allocations: 60.41 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.032, allocations: 3.609 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.032, allocations: 5.812 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/1.033, allocations: 104.2 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.033, allocations: 9.719 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/1.033, allocations: 94.61 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/1.033, allocations: 21.3 kB / 1.255 GB, free: 191.3 MB / 0.9981 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.0001811/1.033, allocations: 186.3 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/1.034, allocations: 56.09 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/1.035, allocations: 0.5744 MB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.035, allocations: 6.469 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.035, allocations: 7.656 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.035, allocations: 3.656 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/1.037, allocations: 1.378 MB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.037, allocations: 3.188 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.037, allocations: 87.61 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.037, allocations: 5.5 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.037, allocations: 12.62 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.037, allocations: 9.344 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.037, allocations: 3.984 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/1.039, allocations: 0.9833 MB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.039, allocations: 178.4 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/1.039, allocations: 12.66 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/1.039, allocations: 53.44 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.039, allocations: 52.36 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.039, allocations: 18.72 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000349/1.04, allocations: 345 kB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.04, allocations: 2.625 kB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005162/1.04, allocations: 148 kB / 1.259 GB, free: 190.1 MB / 0.9981 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.002037/1.042, allocations: 1.623 MB / 1.261 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.044, allocations: 0.6106 MB / 1.261 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.044, allocations: 2.938 kB / 1.261 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/1.044, allocations: 308.2 kB / 1.262 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.046, allocations: 278.1 kB / 1.262 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/1.053, allocations: 5.377 MB / 1.267 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/1.054, allocations: 0.8697 MB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006237/1.054, allocations: 134.5 kB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/1.055, allocations: 171.8 kB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.055, allocations: 0 / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/1.087, allocations: 14.84 MB / 1.283 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/1.087, allocations: 257.8 kB / 1.283 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/3.223, allocations: 7.875 kB / 1.283 GB, free: 181.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches