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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001202/0.001203, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001702/0.001702, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.605/2.605, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005016, allocations: 15.98 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8425, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1957/1.038, allocations: 165.3 MB / 1.143 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006328/1.045, allocations: 4.175 MB / 1.147 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/1.045, allocations: 15.88 kB / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/1.046, allocations: 174.7 kB / 1.147 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/1.048, allocations: 0.583 MB / 1.147 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/1.051, allocations: 1.053 MB / 1.148 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002064/1.053, allocations: 1.445 MB / 1.15 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/1.054, allocations: 340.1 kB / 1.15 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/1.055, allocations: 0.5136 MB / 1.151 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/1.055, allocations: 406.3 kB / 1.151 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/1.055, allocations: 28 kB / 1.151 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/1.057, allocations: 0.7832 MB / 1.152 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/1.058, allocations: 159.5 kB / 1.152 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/1.058, allocations: 125.5 kB / 1.152 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/1.059, allocations: 0.7677 MB / 1.153 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.059, allocations: 4 kB / 1.153 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.214e-06/1.059, allocations: 4 kB / 1.153 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.059, allocations: 0 / 1.153 GB, free: 5.926 MB / 0.9044 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.001561/1.06, allocations: 0.9319 MB / 1.154 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.06, allocations: 8.031 kB / 1.154 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/1.06, allocations: 82.48 kB / 1.154 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/1.062, allocations: 279 kB / 1.154 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/1.063, allocations: 437.7 kB / 1.155 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/1.063, allocations: 29 kB / 1.155 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/1.063, allocations: 48 kB / 1.155 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.064, allocations: 0.5585 MB / 1.155 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.064, allocations: 3.938 kB / 1.155 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/1.064, allocations: 16 kB / 1.155 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/1.064, allocations: 11.95 kB / 1.155 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.065, allocations: 491.5 kB / 1.156 GB, free: 2.918 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.002933/1.068, allocations: 2.135 MB / 1.158 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.069, allocations: 426.5 kB / 1.158 GB, free: 228 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/1.07, allocations: 252.7 kB / 1.158 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/1.071, allocations: 408.3 kB / 1.159 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006349/1.071, allocations: 318.6 kB / 1.159 GB, free: 15.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=37): time 2.355e-06/1.071, allocations: 0 / 1.159 GB, free: 15.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=37): time 0.00177/1.073, allocations: 0.7305 MB / 1.16 GB, free: 14.44 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.073, allocations: 59.39 kB / 1.16 GB, free: 14.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/1.074, allocations: 494 kB / 1.16 GB, free: 13.87 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.074, allocations: 33.7 kB / 1.16 GB, free: 13.83 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/1.074, allocations: 260.1 kB / 1.161 GB, free: 13.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.074, allocations: 118.3 kB / 1.161 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.074, allocations: 12 kB / 1.161 GB, free: 13.45 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.074, allocations: 366.8 kB / 1.161 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/1.075, allocations: 208.8 kB / 1.161 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/1.075, allocations: 336 kB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/1.076, allocations: 291.2 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.076, allocations: 8 kB / 1.162 GB, free: 12.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001224/1.077, allocations: 0.6756 MB / 1.163 GB, free: 11.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/1.077, allocations: 69.11 kB / 1.163 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.077, allocations: 4 kB / 1.163 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.077, allocations: 4 kB / 1.163 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/1.078, allocations: 111.8 kB / 1.163 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.078, allocations: 4 kB / 1.163 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/1.078, allocations: 99.52 kB / 1.163 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/1.078, allocations: 23.98 kB / 1.163 GB, free: 11.18 MB / 0.92 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000273/1.079, allocations: 195 kB / 1.163 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/1.079, allocations: 55.34 kB / 1.163 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/1.08, allocations: 0.5541 MB / 1.164 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.08, allocations: 4 kB / 1.164 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.08, allocations: 3.953 kB / 1.164 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.08, allocations: 4 kB / 1.164 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/1.083, allocations: 1.384 MB / 1.165 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.083, allocations: 4 kB / 1.165 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/1.083, allocations: 79.89 kB / 1.165 GB, free: 8.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.083, allocations: 8 kB / 1.165 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/1.083, allocations: 11.98 kB / 1.165 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.083, allocations: 11.94 kB / 1.165 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.083, allocations: 4 kB / 1.165 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.085, allocations: 0.977 MB / 1.166 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/1.085, allocations: 180.4 kB / 1.166 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/1.085, allocations: 12 kB / 1.166 GB, free: 7.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/1.086, allocations: 51.95 kB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.086, allocations: 59.81 kB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.086, allocations: 16 kB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004258/1.086, allocations: 338.8 kB / 1.167 GB, free: 7.051 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/1.086, allocations: 0 / 1.167 GB, free: 7.051 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000583/1.087, allocations: 155.8 kB / 1.167 GB, free: 6.898 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/1.089, allocations: 1.619 MB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.09, allocations: 0.5971 MB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.09, allocations: 8 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/1.091, allocations: 304.5 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.092, allocations: 274.2 kB / 1.17 GB, free: 4.027 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/1.098, allocations: 3.388 MB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/1.099, allocations: 0.8706 MB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006964/1.1, allocations: 128.7 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.1, allocations: 175.4 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of SimCode: time 1.022e-06/1.1, allocations: 4 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/1.135, allocations: 14.81 MB / 1.188 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.135, allocations: 236.9 kB / 1.189 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.239, allocations: 3.938 kB / 1.189 GB, free: 0.5625 MB / 0.9356 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat does not exist to compare? outputFormat=mat