Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_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.001116/0.001116, allocations: 86.95 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.001528/0.001528, 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.414 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.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7732, allocations: 142.3 MB / 0.9538 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1694/0.9427, allocations: 150.1 MB / 1.1 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.9456, allocations: 1.474 MB / 1.102 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.9459, allocations: 7.938 kB / 1.102 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.9463, allocations: 103.2 kB / 1.102 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.9473, allocations: 346.3 kB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.9492, allocations: 0.5673 MB / 1.103 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000932/0.9501, allocations: 0.8384 MB / 1.104 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.9506, allocations: 196.3 kB / 1.104 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.9511, allocations: 278.9 kB / 1.104 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.9514, allocations: 219.1 kB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.9515, allocations: 16 kB / 1.104 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.9527, allocations: 0.534 MB / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.9529, allocations: 103.7 kB / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.953, allocations: 81.52 kB / 1.105 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.9536, allocations: 467 kB / 1.106 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.9536, allocations: 0 / 1.106 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9536, allocations: 4 kB / 1.106 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.9536, allocations: 0 / 1.106 GB, free: 4.555 MB / 0.8575 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.001101/0.9547, allocations: 0.639 MB / 1.106 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.9548, allocations: 8.031 kB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.423e-05/0.9549, allocations: 58.55 kB / 1.106 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.9554, allocations: 83.56 kB / 1.106 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.9558, allocations: 294.1 kB / 1.107 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9558, allocations: 16.56 kB / 1.107 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.9559, allocations: 20 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.9566, allocations: 348.2 kB / 1.107 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.9566, allocations: 0 / 1.107 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.9566, allocations: 15.95 kB / 1.107 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.9566, allocations: 4 kB / 1.107 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.9573, allocations: 317.5 kB / 1.107 GB, free: 2.672 MB / 0.8575 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.001672/0.959, allocations: 1.079 MB / 1.108 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/0.9599, allocations: 339.6 kB / 1.109 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.9602, allocations: 148.8 kB / 1.109 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/0.9609, allocations: 408.3 kB / 1.109 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.9609, allocations: 42.45 kB / 1.109 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.9609, allocations: 4 kB / 1.109 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001186/0.9621, allocations: 450.6 kB / 1.11 GB, free: 48 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.9622, allocations: 55.41 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.9625, allocations: 266.9 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.9625, allocations: 29.7 kB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.9626, allocations: 176.1 kB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.9627, allocations: 63.09 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.9627, allocations: 8 kB / 1.11 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9628, allocations: 334.8 kB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.9631, allocations: 119.9 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.9635, allocations: 179 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.9638, allocations: 138.1 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9638, allocations: 0 / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007331/0.9645, allocations: 353 kB / 1.111 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9645, allocations: 11.95 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9646, allocations: 0 / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9646, allocations: 4 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.9649, allocations: 63.95 kB / 1.111 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9649, allocations: 12.05 kB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.9651, allocations: 47.8 kB / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.9652, allocations: 15.94 kB / 1.111 GB, free: 14.13 MB / 0.8731 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.0001591/0.9654, allocations: 153.8 kB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.9654, allocations: 27.62 kB / 1.112 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.9662, allocations: 349.6 kB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9662, allocations: 4 kB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9662, allocations: 0 / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9662, allocations: 3.953 kB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.9678, allocations: 0.9682 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9678, allocations: 0 / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.968, allocations: 59.95 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.9681, allocations: 8.125 kB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.9681, allocations: 8 kB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.9681, allocations: 3.938 kB / 1.113 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9681, allocations: 4 kB / 1.113 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.9693, allocations: 0.5978 MB / 1.114 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.9694, allocations: 128.6 kB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.9695, allocations: 11.98 kB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.9697, allocations: 43.97 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.9698, allocations: 15.98 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.9698, allocations: 8 kB / 1.114 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002064/0.9701, allocations: 193.9 kB / 1.114 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9701, allocations: 0 / 1.114 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005082/0.9706, allocations: 103.8 kB / 1.114 GB, free: 11.3 MB / 0.8731 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.001716/0.9723, allocations: 1.247 MB / 1.115 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007333/0.973, allocations: 285.9 kB / 1.116 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9731, allocations: 0 / 1.116 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.9734, allocations: 156.2 kB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.9742, allocations: 124.8 kB / 1.116 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.9774, allocations: 1.858 MB / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.9778, allocations: 0.7796 MB / 1.118 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002921/0.9781, allocations: 66.23 kB / 1.118 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.9782, allocations: 87.41 kB / 1.119 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of SimCode: time 1.142e-06/0.9782, allocations: 0 / 1.119 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.9996, allocations: 8.269 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.9999, allocations: 222.5 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/3.048, allocations: 0 / 1.127 GB, free: 14.27 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat does not exist to compare? outputFormat=mat