Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.559/2.559, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.0018/0.0018, allocations: 176 kB / 0.4901 GB, free: 2.234 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.755/1.755, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001246/0.001246, allocations: 100.7 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005086, allocations: 14.16 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4268, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.846/6.273, allocations: 1.87 GB / 3.099 GB, free: 112.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/6.273, allocations: 91.95 kB / 3.099 GB, free: 112.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.171/7.444, allocations: 223.6 MB / 3.318 GB, free: 356 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.453e-06/7.444, allocations: 0 / 3.318 GB, free: 356 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.846e-05/7.444, allocations: 16 kB / 3.318 GB, free: 356 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001523/7.445, allocations: 0.7091 MB / 3.319 GB, free: 355.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/7.445, allocations: 8.031 kB / 3.319 GB, free: 355.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/7.446, allocations: 62.55 kB / 3.319 GB, free: 355.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/7.446, allocations: 80.77 kB / 3.319 GB, free: 355.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/7.447, allocations: 307.5 kB / 3.319 GB, free: 354.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/7.447, allocations: 20.56 kB / 3.319 GB, free: 354.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/7.447, allocations: 24 kB / 3.319 GB, free: 354.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/7.448, allocations: 340.1 kB / 3.319 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/7.448, allocations: 4 kB / 3.319 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/7.448, allocations: 12 kB / 3.319 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/7.448, allocations: 7.938 kB / 3.319 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/7.448, allocations: 309.5 kB / 3.32 GB, free: 354.1 MB / 1.167 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.001675/7.45, allocations: 1.063 MB / 3.321 GB, free: 352.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/7.451, allocations: 331.6 kB / 3.321 GB, free: 352.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007342/7.452, allocations: 384.4 kB / 3.321 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/7.452, allocations: 38.91 kB / 3.321 GB, free: 352.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/7.452, allocations: 4 kB / 3.321 GB, free: 352.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001302/7.453, allocations: 442.5 kB / 3.322 GB, free: 351.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/7.453, allocations: 55.41 kB / 3.322 GB, free: 351.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/7.453, allocations: 238.2 kB / 3.322 GB, free: 351.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/7.453, allocations: 29.7 kB / 3.322 GB, free: 351.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/7.454, allocations: 168.3 kB / 3.322 GB, free: 351.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/7.454, allocations: 74.98 kB / 3.322 GB, free: 351.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/7.454, allocations: 4 kB / 3.322 GB, free: 351.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/7.454, allocations: 334.8 kB / 3.323 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/7.454, allocations: 120.7 kB / 3.323 GB, free: 350.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/7.454, allocations: 184.1 kB / 3.323 GB, free: 350.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/7.455, allocations: 141.4 kB / 3.323 GB, free: 350.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/7.455, allocations: 0 / 3.323 GB, free: 350.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007062/7.455, allocations: 341.8 kB / 3.323 GB, free: 349.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/7.455, allocations: 8 kB / 3.323 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/7.455, allocations: 0 / 3.323 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/7.455, allocations: 7.953 kB / 3.323 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/7.456, allocations: 72.02 kB / 3.324 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/7.456, allocations: 4 kB / 3.324 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/7.456, allocations: 51.66 kB / 3.324 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/7.456, allocations: 8 kB / 3.324 GB, free: 349.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001769/7.456, allocations: 161.7 kB / 3.324 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/7.456, allocations: 23.72 kB / 3.324 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/7.457, allocations: 341.4 kB / 3.324 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/7.457, allocations: 8 kB / 3.324 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/7.457, allocations: 128 / 3.324 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/7.457, allocations: 7.984 kB / 3.324 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/7.459, allocations: 0.9448 MB / 3.325 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/7.459, allocations: 4 kB / 3.325 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/7.459, allocations: 60.05 kB / 3.325 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/7.459, allocations: 7.984 kB / 3.325 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/7.459, allocations: 8 kB / 3.325 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/7.459, allocations: 7.938 kB / 3.325 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/7.459, allocations: 0 / 3.325 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/7.46, allocations: 0.6594 MB / 3.326 GB, free: 347.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/7.46, allocations: 124.8 kB / 3.326 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/7.46, allocations: 11.98 kB / 3.326 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/7.461, allocations: 35.91 kB / 3.326 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/7.461, allocations: 16.05 kB / 3.326 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/7.461, allocations: 19.92 kB / 3.326 GB, free: 347.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001742/7.461, allocations: 186 kB / 3.326 GB, free: 347 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.461, allocations: 0 / 3.326 GB, free: 347 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009556/7.462, allocations: 199.8 kB / 3.326 GB, free: 346.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003193/7.465, allocations: 2.554 MB / 3.329 GB, free: 344.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00069/7.466, allocations: 277.3 kB / 3.329 GB, free: 343.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.466, allocations: 3.938 kB / 3.329 GB, free: 343.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/7.466, allocations: 152.1 kB / 3.329 GB, free: 343.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/7.467, allocations: 126.4 kB / 3.329 GB, free: 343.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/7.47, allocations: 2.579 MB / 3.332 GB, free: 340.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/7.471, allocations: 0.7839 MB / 3.333 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003253/7.471, allocations: 70.23 kB / 3.333 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/7.471, allocations: 83.41 kB / 3.333 GB, free: 340 MB / 1.167 GB Notification: Performance of SimCode: time 2.325e-06/7.471, allocations: 0 / 3.333 GB, free: 340 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/7.509, allocations: 23.46 MB / 3.356 GB, free: 316.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/7.51, allocations: 228.1 kB / 3.356 GB, free: 316.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/10.13, allocations: 0 / 3.356 GB, free: 316.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat does not exist to compare? outputFormat=mat