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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009558/0.0009558, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001154/0.001155, allocations: 172.7 kB / 15.95 MB, free: 208 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.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8491, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2324/1.082, allocations: 165.3 MB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005974/1.088, allocations: 4.188 MB / 1.119 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/1.088, allocations: 15.88 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/1.089, allocations: 166.7 kB / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/1.091, allocations: 0.5907 MB / 1.12 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/1.094, allocations: 1.05 MB / 1.121 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.096, allocations: 1.441 MB / 1.123 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/1.097, allocations: 340.1 kB / 1.123 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/1.098, allocations: 0.5097 MB / 1.123 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/1.098, allocations: 394.4 kB / 1.124 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/1.098, allocations: 28 kB / 1.124 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/1.1, allocations: 0.7871 MB / 1.125 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/1.101, allocations: 167.5 kB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/1.101, allocations: 129.4 kB / 1.125 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/1.102, allocations: 0.7639 MB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.102, allocations: 0 / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.507e-06/1.102, allocations: 4 kB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.102, allocations: 0 / 1.126 GB, free: 15.79 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.001743/1.104, allocations: 0.9281 MB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.104, allocations: 11.97 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/1.104, allocations: 82.52 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/1.106, allocations: 283 kB / 1.127 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/1.107, allocations: 429.8 kB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/1.107, allocations: 37 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/1.107, allocations: 47.91 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.108, allocations: 0.5662 MB / 1.128 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.108, allocations: 3.984 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/1.108, allocations: 16 kB / 1.128 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.108, allocations: 12 kB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/1.109, allocations: 487.5 kB / 1.128 GB, free: 12.77 MB / 0.8887 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.002595/1.112, allocations: 2.135 MB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/1.113, allocations: 428.2 kB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/1.113, allocations: 245.3 kB / 1.131 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/1.114, allocations: 412.2 kB / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006744/1.115, allocations: 310.8 kB / 1.132 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=37): time 2.514e-06/1.115, allocations: 0 / 1.132 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37): time 0.001913/1.117, allocations: 0.7267 MB / 1.133 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.117, allocations: 67.14 kB / 1.133 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/1.117, allocations: 486.1 kB / 1.133 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/1.117, allocations: 37.7 kB / 1.133 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/1.117, allocations: 268 kB / 1.133 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.118, allocations: 118.3 kB / 1.133 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/1.118, allocations: 8 kB / 1.133 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.118, allocations: 374.7 kB / 1.134 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/1.118, allocations: 208.8 kB / 1.134 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/1.119, allocations: 329.4 kB / 1.134 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/1.12, allocations: 295.2 kB / 1.135 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.12, allocations: 4 kB / 1.135 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001292/1.121, allocations: 0.6755 MB / 1.135 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/1.121, allocations: 63.39 kB / 1.135 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.121, allocations: 4 kB / 1.135 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.121, allocations: 4 kB / 1.135 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/1.121, allocations: 107.8 kB / 1.135 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.121, allocations: 4 kB / 1.135 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/1.122, allocations: 95.52 kB / 1.136 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/1.122, allocations: 23.98 kB / 1.136 GB, free: 5.07 MB / 0.8887 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.0003304/1.122, allocations: 198.9 kB / 1.136 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/1.122, allocations: 55.34 kB / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/1.124, allocations: 0.5619 MB / 1.136 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.124, allocations: 4 kB / 1.136 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.124, allocations: 4 kB / 1.136 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.124, allocations: 0 / 1.136 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.126, allocations: 1.389 MB / 1.138 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.126, allocations: 4 kB / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/1.126, allocations: 79.83 kB / 1.138 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.126, allocations: 8 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/1.126, allocations: 19.92 kB / 1.138 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.126, allocations: 8 kB / 1.138 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.126, allocations: 8.156 kB / 1.138 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.128, allocations: 0.9727 MB / 1.139 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/1.128, allocations: 184.3 kB / 1.139 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/1.128, allocations: 12 kB / 1.139 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/1.129, allocations: 47.95 kB / 1.139 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.129, allocations: 59.81 kB / 1.139 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.129, allocations: 16 kB / 1.139 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003769/1.13, allocations: 338.8 kB / 1.139 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.13, allocations: 0 / 1.139 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005785/1.13, allocations: 151.8 kB / 1.14 GB, free: 0.7695 MB / 0.8887 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.002396/1.133, allocations: 1.609 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001201/1.134, allocations: 0.6118 MB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.134, allocations: 4 kB / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006614/1.134, allocations: 302.1 kB / 1.142 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.136, allocations: 287.3 kB / 1.142 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/1.142, allocations: 3.376 MB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/1.142, allocations: 0.8668 MB / 1.146 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005763/1.143, allocations: 124.7 kB / 1.147 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/1.143, allocations: 175.4 kB / 1.147 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of SimCode: time 3.877e-06/1.143, allocations: 4 kB / 1.147 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/1.178, allocations: 14.82 MB / 1.161 GB, free: 10.68 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/1.179, allocations: 225.3 kB / 1.161 GB, free: 10.43 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/3.376, allocations: 0 / 1.161 GB, free: 10.43 MB / 0.92 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat does not exist to compare? outputFormat=mat