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.187/2.187, allocations: 390.5 MB / 398 MB, free: 10.96 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.001108/0.001108, allocations: 173 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009634/0.0009633, allocations: 103.8 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2524, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.402, allocations: 1.869 GB / 3.081 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/5.402, allocations: 85.72 kB / 3.081 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.803/7.205, allocations: 424.8 MB / 3.496 GB, free: 292.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.975e-06/7.205, allocations: 0 / 3.496 GB, free: 292.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001254/7.205, allocations: 15.67 kB / 3.496 GB, free: 292.3 MB / 1.151 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.004432/7.21, allocations: 0.9977 MB / 3.497 GB, free: 291.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.262e-05/7.21, allocations: 8.844 kB / 3.497 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/7.213, allocations: 283.5 kB / 3.497 GB, free: 291.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/7.214, allocations: 452.5 kB / 3.497 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/7.215, allocations: 17.81 kB / 3.497 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/7.215, allocations: 30.78 kB / 3.498 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009877/7.216, allocations: 320.7 kB / 3.498 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/7.217, allocations: 444.7 kB / 3.498 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/7.217, allocations: 4.906 kB / 3.498 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/7.217, allocations: 1.688 kB / 3.498 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/7.217, allocations: 9.812 kB / 3.498 GB, free: 291.5 MB / 1.151 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.003798/7.221, allocations: 2.038 MB / 3.5 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/7.221, allocations: 306.9 kB / 3.501 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/7.222, allocations: 163.2 kB / 3.501 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/7.223, allocations: 398.6 kB / 3.501 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/7.223, allocations: 224 kB / 3.501 GB, free: 289.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 6.462e-06/7.223, allocations: 7.062 kB / 3.501 GB, free: 289.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001643/7.225, allocations: 443.5 kB / 3.502 GB, free: 289.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/7.225, allocations: 59.59 kB / 3.502 GB, free: 289.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/7.225, allocations: 299.9 kB / 3.502 GB, free: 289.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/7.225, allocations: 31.84 kB / 3.502 GB, free: 289.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/7.226, allocations: 280.6 kB / 3.502 GB, free: 289.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/7.226, allocations: 118.2 kB / 3.502 GB, free: 289.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/7.226, allocations: 3.391 kB / 3.502 GB, free: 289.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001384/7.226, allocations: 359.6 kB / 3.503 GB, free: 289.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/7.226, allocations: 136.3 kB / 3.503 GB, free: 289.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/7.227, allocations: 264.9 kB / 3.503 GB, free: 289 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/7.227, allocations: 221.3 kB / 3.503 GB, free: 289 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/7.227, allocations: 1.156 kB / 3.503 GB, free: 289 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001239/7.229, allocations: 0.4971 MB / 3.504 GB, free: 288.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/7.229, allocations: 64.14 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/7.229, allocations: 3.547 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/7.229, allocations: 4.875 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/7.229, allocations: 107.3 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/7.229, allocations: 6.109 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/7.23, allocations: 77 kB / 3.504 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/7.23, allocations: 27.02 kB / 3.504 GB, free: 288.8 MB / 1.151 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.0001683/7.23, allocations: 129.7 kB / 3.504 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001036/7.231, allocations: 417.5 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/7.232, allocations: 47.05 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/7.233, allocations: 462.5 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/7.233, allocations: 4.531 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/7.233, allocations: 8.719 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/7.233, allocations: 2.25 kB / 3.505 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/7.236, allocations: 1.192 MB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/7.236, allocations: 4.219 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/7.236, allocations: 84.38 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/7.236, allocations: 11.77 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/7.236, allocations: 7 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/7.236, allocations: 7.484 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/7.236, allocations: 10.69 kB / 3.506 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/7.238, allocations: 0.9731 MB / 3.507 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/7.238, allocations: 158.5 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/7.238, allocations: 10.08 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/7.239, allocations: 47.8 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/7.239, allocations: 56.5 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/7.239, allocations: 16.92 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004136/7.24, allocations: 236.2 kB / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.24, allocations: 0 / 3.508 GB, free: 287.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001378/7.241, allocations: 243.5 kB / 3.508 GB, free: 287.4 MB / 1.151 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.005589/7.247, allocations: 4.032 MB / 3.512 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001006/7.248, allocations: 467.4 kB / 3.513 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.248, allocations: 1.156 kB / 3.513 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/7.248, allocations: 231.9 kB / 3.513 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/7.249, allocations: 183.1 kB / 3.513 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/7.252, allocations: 0.9071 MB / 3.514 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/7.253, allocations: 0.876 MB / 3.515 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007698/7.254, allocations: 111.4 kB / 3.515 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/7.254, allocations: 172.2 kB / 3.515 GB, free: 284 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/7.254, allocations: 3.062 kB / 3.515 GB, free: 284 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07714/7.331, allocations: 22.76 MB / 3.537 GB, free: 283.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/7.332, allocations: 182.9 kB / 3.537 GB, free: 283.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/10.17, allocations: 0 / 3.537 GB, free: 283.5 MB / 1.151 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