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.0009537/0.0009537, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001027/0.001028, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.469/2.469, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8154, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1855/1.001, allocations: 151.4 MB / 1.101 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006869/1.008, allocations: 4.134 MB / 1.105 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/1.009, allocations: 15.88 kB / 1.105 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009686/1.009, allocations: 282.7 kB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/1.011, allocations: 0.5881 MB / 1.106 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/1.014, allocations: 0.9668 MB / 1.107 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001889/1.016, allocations: 0.7451 MB / 1.108 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/1.017, allocations: 356.2 kB / 1.108 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/1.019, allocations: 0.6582 MB / 1.109 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/1.019, allocations: 282.8 kB / 1.109 GB, free: 420 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/1.019, allocations: 32 kB / 1.109 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.021, allocations: 0.5889 MB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/1.021, allocations: 159.5 kB / 1.11 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/1.022, allocations: 129.5 kB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/1.023, allocations: 0.643 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.023, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.475e-06/1.023, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.023, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 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.001586/1.024, allocations: 0.8892 MB / 1.112 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.024, allocations: 12.03 kB / 1.112 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.367e-05/1.024, allocations: 74.53 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.026, allocations: 294.9 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/1.027, allocations: 433.7 kB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/1.027, allocations: 33 kB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/1.027, allocations: 55.89 kB / 1.112 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/1.029, allocations: 0.5585 MB / 1.113 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.029, allocations: 3.938 kB / 1.113 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/1.029, allocations: 19.98 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.029, allocations: 12 kB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.03, allocations: 491.5 kB / 1.114 GB, free: 11.86 MB / 0.8731 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.002606/1.033, allocations: 2.131 MB / 1.116 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/1.034, allocations: 443.1 kB / 1.116 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/1.034, allocations: 141.6 kB / 1.116 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006151/1.035, allocations: 336.4 kB / 1.116 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/1.035, allocations: 0 / 1.116 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001823/1.037, allocations: 0.7353 MB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.037, allocations: 89.09 kB / 1.117 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/1.037, allocations: 490.2 kB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/1.038, allocations: 33.7 kB / 1.118 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.038, allocations: 264 kB / 1.118 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.038, allocations: 122.3 kB / 1.118 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/1.038, allocations: 8 kB / 1.118 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.038, allocations: 370.7 kB / 1.119 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/1.039, allocations: 216.8 kB / 1.119 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/1.039, allocations: 325.3 kB / 1.119 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/1.04, allocations: 295.3 kB / 1.119 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.04, allocations: 4 kB / 1.119 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001274/1.041, allocations: 0.6731 MB / 1.12 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/1.041, allocations: 63.8 kB / 1.12 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.041, allocations: 8 kB / 1.12 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.041, allocations: 8 kB / 1.12 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/1.042, allocations: 103.8 kB / 1.12 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.042, allocations: 8 kB / 1.12 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/1.042, allocations: 91.39 kB / 1.12 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.042, allocations: 23.98 kB / 1.12 GB, free: 4.645 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002324/1.042, allocations: 198.7 kB / 1.12 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/1.043, allocations: 55.34 kB / 1.121 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.044, allocations: 0.5291 MB / 1.121 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.044, allocations: 4 kB / 1.121 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.044, allocations: 0 / 1.121 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.044, allocations: 7.984 kB / 1.121 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.046, allocations: 1.47 MB / 1.122 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.046, allocations: 4 kB / 1.122 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/1.046, allocations: 91.94 kB / 1.123 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/1.046, allocations: 4 kB / 1.123 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/1.047, allocations: 12.38 kB / 1.123 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.047, allocations: 15.98 kB / 1.123 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.047, allocations: 7.938 kB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.048, allocations: 1.226 MB / 1.124 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/1.049, allocations: 176.3 kB / 1.124 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/1.049, allocations: 15.98 kB / 1.124 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/1.049, allocations: 55.95 kB / 1.124 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.049, allocations: 51.83 kB / 1.124 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/1.05, allocations: 24 kB / 1.124 GB, free: 364 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004112/1.05, allocations: 346.8 kB / 1.124 GB, free: 20 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.124 GB, free: 20 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006222/1.051, allocations: 147.9 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.003039/1.054, allocations: 3.179 MB / 1.128 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.055, allocations: 0.6199 MB / 1.128 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.055, allocations: 0 / 1.128 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/1.056, allocations: 334 kB / 1.129 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.057, allocations: 266.2 kB / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/1.063, allocations: 5.347 MB / 1.134 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/1.064, allocations: 0.8785 MB / 1.135 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005684/1.064, allocations: 132.6 kB / 1.135 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/1.065, allocations: 171.4 kB / 1.135 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/1.065, allocations: 0 / 1.135 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/1.096, allocations: 14.79 MB / 1.15 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.096, allocations: 224.1 kB / 1.15 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/3.278, allocations: 8.062 kB / 1.15 GB, free: 5.859 MB / 0.9044 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