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.001254/0.001254, allocations: 99.39 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.001527/0.001527, allocations: 177.3 kB / 15.95 MB, free: 216 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.504/2.504, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7817, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1686/0.9504, allocations: 138.6 MB / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.9536, allocations: 1.541 MB / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.9539, allocations: 11.88 kB / 1.09 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.9546, allocations: 183.2 kB / 1.091 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009694/0.9556, allocations: 346.9 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.957, allocations: 497 kB / 1.091 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.9577, allocations: 412.2 kB / 1.092 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.958, allocations: 206 kB / 1.092 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.9588, allocations: 339 kB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.959, allocations: 151.4 kB / 1.092 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.9591, allocations: 12 kB / 1.092 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008948/0.96, allocations: 415.3 kB / 1.093 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.9601, allocations: 91.77 kB / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.9602, allocations: 85.45 kB / 1.093 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.9608, allocations: 387.2 kB / 1.093 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.9608, allocations: 0 / 1.093 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9608, allocations: 0 / 1.093 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9608, allocations: 8 kB / 1.093 GB, free: 0.6523 MB / 0.8419 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.00104/0.9618, allocations: 0.61 MB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9619, allocations: 15.97 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.962, allocations: 54.5 kB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.9624, allocations: 83.56 kB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.9629, allocations: 290.1 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.9629, allocations: 20.56 kB / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.963, allocations: 24 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.9636, allocations: 356.1 kB / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9636, allocations: 0 / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.9637, allocations: 11.95 kB / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.9637, allocations: 4 kB / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.9644, allocations: 321.5 kB / 1.095 GB, free: 14.79 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.001655/0.9661, allocations: 1.067 MB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.967, allocations: 351.6 kB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.9676, allocations: 230.1 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.9676, allocations: 34.56 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/0.9676, allocations: 3.938 kB / 1.097 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001312/0.9689, allocations: 449.4 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.969, allocations: 55.36 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.9693, allocations: 270.9 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.9694, allocations: 33.7 kB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.9695, allocations: 168.1 kB / 1.098 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.9696, allocations: 67.05 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.9696, allocations: 4 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9698, allocations: 334.8 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.9701, allocations: 123.8 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.9705, allocations: 188.5 kB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.9708, allocations: 144.9 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9709, allocations: 3.938 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007592/0.9716, allocations: 350.7 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9717, allocations: 4 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.9717, allocations: 0 / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9717, allocations: 4.156 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.972, allocations: 67.95 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.972, allocations: 15.88 kB / 1.099 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.9723, allocations: 51.84 kB / 1.099 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.9723, allocations: 15.98 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001641/0.9725, allocations: 141.8 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.9726, allocations: 31.72 kB / 1.099 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.9734, allocations: 352.7 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9734, allocations: 0 / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.9734, allocations: 0 / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9734, allocations: 4 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.9751, allocations: 0.9767 MB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9751, allocations: 4.219 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.9754, allocations: 59.89 kB / 1.101 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.9754, allocations: 4 kB / 1.101 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.9754, allocations: 11.95 kB / 1.101 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9754, allocations: 0 / 1.101 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9755, allocations: 4 kB / 1.101 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.9767, allocations: 0.6863 MB / 1.101 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.9768, allocations: 136.6 kB / 1.101 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.9769, allocations: 8 kB / 1.101 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.9771, allocations: 32.03 kB / 1.101 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.9772, allocations: 19.92 kB / 1.101 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.9773, allocations: 15.98 kB / 1.101 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001707/0.9774, allocations: 190 kB / 1.102 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9774, allocations: 0 / 1.102 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004787/0.9779, allocations: 107.8 kB / 1.102 GB, free: 7.613 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.002037/0.98, allocations: 1.8 MB / 1.103 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007418/0.9807, allocations: 275.8 kB / 1.104 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9807, allocations: 0 / 1.104 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.9811, allocations: 156.3 kB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.9818, allocations: 133.3 kB / 1.104 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.9855, allocations: 2.746 MB / 1.107 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.9859, allocations: 0.7875 MB / 1.107 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.9862, allocations: 62.23 kB / 1.108 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.9864, allocations: 91.41 kB / 1.108 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.072e-06/0.9864, allocations: 0 / 1.108 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/1.007, allocations: 8.01 MB / 1.115 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.007, allocations: 211.9 kB / 1.116 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.908, allocations: 7.938 kB / 1.116 GB, free: 9.34 MB / 0.8731 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