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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 87.77 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.588e-05/6.622e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2693, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.115/5.385, allocations: 1.869 GB / 3.088 GB, free: 365 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/5.385, allocations: 84.38 kB / 3.088 GB, free: 365 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.479/6.864, allocations: 430 MB / 3.508 GB, free: 306.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.283e-06/6.864, allocations: 0 / 3.508 GB, free: 306.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.58e-05/6.864, allocations: 16.94 kB / 3.508 GB, free: 306.3 MB / 1.167 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.00208/6.867, allocations: 0.9973 MB / 3.509 GB, free: 305.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/6.867, allocations: 8.625 kB / 3.509 GB, free: 305.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/6.867, allocations: 82.47 kB / 3.509 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/6.869, allocations: 285.6 kB / 3.509 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/6.869, allocations: 464.5 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/6.87, allocations: 32.67 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/6.87, allocations: 45.81 kB / 3.51 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/6.87, allocations: 496.8 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/6.87, allocations: 4.969 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/6.87, allocations: 16.34 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/6.87, allocations: 9.344 kB / 3.51 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/6.871, allocations: 354 kB / 3.511 GB, free: 305.5 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.002344/6.873, allocations: 2.148 MB / 3.513 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/6.874, allocations: 311.2 kB / 3.513 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/6.874, allocations: 174.7 kB / 3.513 GB, free: 304.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/6.875, allocations: 395.7 kB / 3.514 GB, free: 303.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/6.875, allocations: 244.1 kB / 3.514 GB, free: 303.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/6.875, allocations: 0 / 3.514 GB, free: 303.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.000946/6.876, allocations: 423 kB / 3.514 GB, free: 303.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/6.876, allocations: 63.66 kB / 3.514 GB, free: 303.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/6.877, allocations: 425.2 kB / 3.515 GB, free: 303.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/6.877, allocations: 37.05 kB / 3.515 GB, free: 303.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/6.877, allocations: 258.8 kB / 3.515 GB, free: 303.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/6.877, allocations: 120.5 kB / 3.515 GB, free: 303.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/6.877, allocations: 8.531 kB / 3.515 GB, free: 303.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/6.877, allocations: 371.4 kB / 3.516 GB, free: 303 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/6.877, allocations: 153.6 kB / 3.516 GB, free: 303 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/6.878, allocations: 277.8 kB / 3.516 GB, free: 302.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/6.878, allocations: 230.6 kB / 3.516 GB, free: 302.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/6.878, allocations: 1 kB / 3.516 GB, free: 302.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000827/6.879, allocations: 0.5479 MB / 3.517 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/6.879, allocations: 66.91 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/6.879, allocations: 2.938 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/6.879, allocations: 5.938 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/6.88, allocations: 103.5 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/6.88, allocations: 11.23 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/6.88, allocations: 98.67 kB / 3.517 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/6.88, allocations: 24.05 kB / 3.517 GB, free: 302.6 MB / 1.167 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 () * 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.0001088/6.88, allocations: 134.4 kB / 3.517 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/6.88, allocations: 56.16 kB / 3.517 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/6.881, allocations: 448 kB / 3.518 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/6.881, allocations: 8.062 kB / 3.518 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/6.881, allocations: 3.938 kB / 3.518 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/6.881, allocations: 5.047 kB / 3.518 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/6.883, allocations: 1.237 MB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/6.883, allocations: 3.312 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/6.883, allocations: 83.84 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/6.883, allocations: 5.031 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/6.883, allocations: 11 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/6.883, allocations: 10.34 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/6.883, allocations: 11.5 kB / 3.519 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/6.885, allocations: 0.9504 MB / 3.52 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/6.885, allocations: 176.7 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/6.885, allocations: 17.3 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/6.885, allocations: 46.28 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/6.885, allocations: 52.95 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/6.885, allocations: 18.97 kB / 3.52 GB, free: 301.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003683/6.886, allocations: 331.3 kB / 3.52 GB, free: 301.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.886, allocations: 0 / 3.52 GB, free: 301.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001051/6.887, allocations: 294.6 kB / 3.521 GB, free: 301.2 MB / 1.167 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) * 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.003926/6.891, allocations: 3.841 MB / 3.525 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009504/6.892, allocations: 481.4 kB / 3.525 GB, free: 298.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/6.892, allocations: 3.438 kB / 3.525 GB, free: 298.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/6.892, allocations: 241.8 kB / 3.525 GB, free: 298.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/6.894, allocations: 281.4 kB / 3.525 GB, free: 298.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/6.896, allocations: 0.9443 MB / 3.526 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/6.897, allocations: 0.8747 MB / 3.527 GB, free: 297.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006496/6.898, allocations: 125.5 kB / 3.527 GB, free: 297.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/6.898, allocations: 176.7 kB / 3.528 GB, free: 297.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.72e-07/6.898, allocations: 3.594 kB / 3.528 GB, free: 297.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07849/6.977, allocations: 41.12 MB / 3.568 GB, free: 297 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/6.977, allocations: 196.4 kB / 3.568 GB, free: 296.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/10.39, allocations: 0 / 3.568 GB, free: 296.7 MB / 1.167 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) 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