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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009408/0.0009407, allocations: 168.7 kB / 15.95 MB, free: 204 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.52/1.52, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.614/2.614, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8403, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1926/1.033, allocations: 150.1 MB / 1.128 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00316/1.036, allocations: 1.48 MB / 1.129 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/1.037, allocations: 7.938 kB / 1.129 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005082/1.037, allocations: 103.3 kB / 1.129 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/1.038, allocations: 354.3 kB / 1.13 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/1.04, allocations: 0.5556 MB / 1.13 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001025/1.041, allocations: 0.8306 MB / 1.131 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/1.042, allocations: 200.3 kB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/1.042, allocations: 282.8 kB / 1.131 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/1.042, allocations: 215.1 kB / 1.132 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/1.042, allocations: 12 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/1.044, allocations: 0.5495 MB / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/1.044, allocations: 91.75 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/1.044, allocations: 85.52 kB / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/1.045, allocations: 471 kB / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.045, allocations: 0 / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/1.045, allocations: 0 / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.045, allocations: 0 / 1.133 GB, free: 10.49 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00114/1.046, allocations: 0.6313 MB / 1.133 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.046, allocations: 8.031 kB / 1.133 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/1.046, allocations: 70.47 kB / 1.133 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/1.047, allocations: 83.55 kB / 1.134 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/1.047, allocations: 290.1 kB / 1.134 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.047, allocations: 16.56 kB / 1.134 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/1.047, allocations: 27.86 kB / 1.134 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/1.048, allocations: 352.2 kB / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.048, allocations: 0 / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/1.048, allocations: 8 kB / 1.134 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.048, allocations: 12 kB / 1.134 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/1.049, allocations: 313.5 kB / 1.135 GB, free: 8.59 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.001723/1.05, allocations: 1.071 MB / 1.136 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/1.051, allocations: 343.7 kB / 1.136 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/1.052, allocations: 152.7 kB / 1.136 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/1.052, allocations: 416.2 kB / 1.136 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.052, allocations: 34.56 kB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/1.052, allocations: 0 / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.001233/1.054, allocations: 450.2 kB / 1.137 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/1.054, allocations: 55.41 kB / 1.137 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/1.054, allocations: 263 kB / 1.137 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.054, allocations: 29.7 kB / 1.137 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.054, allocations: 176.2 kB / 1.137 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/1.054, allocations: 59.11 kB / 1.137 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/1.054, allocations: 4 kB / 1.137 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.054, allocations: 334.8 kB / 1.138 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/1.055, allocations: 119.9 kB / 1.138 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/1.055, allocations: 181.8 kB / 1.138 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/1.055, allocations: 145.4 kB / 1.138 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.055, allocations: 0 / 1.138 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007206/1.056, allocations: 354.2 kB / 1.139 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.056, allocations: 5.719 kB / 1.139 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.056, allocations: 3.938 kB / 1.139 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.056, allocations: 4 kB / 1.139 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.056, allocations: 72.02 kB / 1.139 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.056, allocations: 4 kB / 1.139 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/1.057, allocations: 43.81 kB / 1.139 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/1.057, allocations: 8 kB / 1.139 GB, free: 4.082 MB / 0.8887 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.0001629/1.057, allocations: 161.7 kB / 1.139 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/1.057, allocations: 31.58 kB / 1.139 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007848/1.058, allocations: 353.2 kB / 1.139 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.058, allocations: 7.984 kB / 1.139 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.058, allocations: 4 kB / 1.139 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.058, allocations: 0 / 1.139 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.059, allocations: 0.963 MB / 1.14 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.059, allocations: 4 kB / 1.14 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/1.06, allocations: 60.09 kB / 1.14 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.06, allocations: 4 kB / 1.14 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.06, allocations: 4 kB / 1.14 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.06, allocations: 7.984 kB / 1.14 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.06, allocations: 0 / 1.14 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.061, allocations: 0.6015 MB / 1.141 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.061, allocations: 128.7 kB / 1.141 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/1.061, allocations: 4 kB / 1.141 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/1.061, allocations: 39.97 kB / 1.141 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.061, allocations: 23.91 kB / 1.141 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.061, allocations: 8 kB / 1.141 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001915/1.062, allocations: 193.9 kB / 1.141 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.062, allocations: 0 / 1.141 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005101/1.062, allocations: 115.8 kB / 1.141 GB, free: 1.215 MB / 0.8887 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.001811/1.064, allocations: 1.225 MB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007239/1.065, allocations: 289.1 kB / 1.143 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.065, allocations: 0 / 1.143 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/1.065, allocations: 152.2 kB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/1.066, allocations: 129.4 kB / 1.143 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/1.069, allocations: 1.845 MB / 1.145 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.069, allocations: 0.7872 MB / 1.146 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002702/1.07, allocations: 62.25 kB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.07, allocations: 91.39 kB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of SimCode: time 7.52e-07/1.07, allocations: 0 / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/1.091, allocations: 8.255 MB / 1.154 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.092, allocations: 232.3 kB / 1.154 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.119, allocations: 3.938 kB / 1.154 GB, free: 4.223 MB / 0.9044 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) Environment - environmentSimulation: 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