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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001335/0.001335, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.398/1.398, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 95.86 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.528e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2752, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.181/4.456, allocations: 1.869 GB / 3.075 GB, free: 12.01 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/4.457, allocations: 87.55 kB / 3.075 GB, free: 11.93 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.029/5.485, allocations: 220.5 MB / 3.29 GB, free: 258.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.252e-06/5.485, allocations: 0 / 3.29 GB, free: 258.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.308e-05/5.485, allocations: 15.98 kB / 3.29 GB, free: 258 MB / 1.151 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.001208/5.487, allocations: 0.6743 MB / 3.291 GB, free: 257.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/5.487, allocations: 16.02 kB / 3.291 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/5.487, allocations: 75.56 kB / 3.291 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/5.488, allocations: 310 kB / 3.291 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/5.488, allocations: 12 kB / 3.291 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/5.488, allocations: 12 kB / 3.291 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003213/5.488, allocations: 185 kB / 3.291 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/5.488, allocations: 255.2 kB / 3.292 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/5.489, allocations: 0 / 3.292 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/5.489, allocations: 0 / 3.292 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/5.489, allocations: 4 kB / 3.292 GB, free: 256.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.0013/5.49, allocations: 0.9965 MB / 3.293 GB, free: 255.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/5.49, allocations: 271.8 kB / 3.293 GB, free: 255.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/5.491, allocations: 88.83 kB / 3.293 GB, free: 255 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/5.491, allocations: 396.3 kB / 3.293 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/5.491, allocations: 38.5 kB / 3.293 GB, free: 254.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/5.491, allocations: 0 / 3.293 GB, free: 254.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001169/5.492, allocations: 310.8 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/5.492, allocations: 59.41 kB / 3.294 GB, free: 254.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/5.493, allocations: 184.5 kB / 3.294 GB, free: 253.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/5.493, allocations: 25.7 kB / 3.294 GB, free: 253.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/5.493, allocations: 172.2 kB / 3.294 GB, free: 253.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/5.493, allocations: 67.03 kB / 3.294 GB, free: 253.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/5.493, allocations: 0 / 3.294 GB, free: 253.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/5.493, allocations: 326.8 kB / 3.294 GB, free: 253.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/5.493, allocations: 67.97 kB / 3.294 GB, free: 253.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/5.493, allocations: 132.2 kB / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/5.494, allocations: 180.9 kB / 3.295 GB, free: 252.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/5.494, allocations: 0 / 3.295 GB, free: 252.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008437/5.495, allocations: 314.1 kB / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/5.495, allocations: 14.12 kB / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/5.495, allocations: 0 / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/5.495, allocations: 4 kB / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/5.495, allocations: 72.05 kB / 3.295 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/5.495, allocations: 4 kB / 3.295 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/5.495, allocations: 43.81 kB / 3.295 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/5.496, allocations: 8 kB / 3.295 GB, free: 252.5 MB / 1.151 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 () * 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 8.839e-05/5.496, allocations: 112.9 kB / 3.295 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008051/5.496, allocations: 286.2 kB / 3.296 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/5.496, allocations: 23.67 kB / 3.296 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/5.497, allocations: 316.7 kB / 3.296 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/5.497, allocations: 7.953 kB / 3.296 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/5.497, allocations: 128 / 3.296 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/5.497, allocations: 0 / 3.296 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/5.499, allocations: 0.8867 MB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/5.499, allocations: 0 / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/5.499, allocations: 63.89 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/5.499, allocations: 4 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/5.499, allocations: 7.938 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/5.499, allocations: 4.188 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.499, allocations: 4 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/5.5, allocations: 0.5897 MB / 3.297 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/5.501, allocations: 120.7 kB / 3.298 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/5.501, allocations: 4 kB / 3.298 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/5.501, allocations: 32.03 kB / 3.298 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/5.501, allocations: 23.91 kB / 3.298 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/5.501, allocations: 8 kB / 3.298 GB, free: 249.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.159e-05/5.501, allocations: 148.5 kB / 3.298 GB, free: 249.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.501, allocations: 0 / 3.298 GB, free: 249.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000713/5.502, allocations: 175.8 kB / 3.298 GB, free: 249.5 MB / 1.151 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 () * 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.002545/5.504, allocations: 2.594 MB / 3.3 GB, free: 246.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003222/5.505, allocations: 165 kB / 3.301 GB, free: 246.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.505, allocations: 4 kB / 3.301 GB, free: 246.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/5.505, allocations: 92.47 kB / 3.301 GB, free: 246.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/5.506, allocations: 89.88 kB / 3.301 GB, free: 246.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/5.507, allocations: 0.5325 MB / 3.301 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/5.507, allocations: 0.7875 MB / 3.302 GB, free: 245.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002314/5.507, allocations: 57.97 kB / 3.302 GB, free: 245 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/5.507, allocations: 87.41 kB / 3.302 GB, free: 244.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/5.507, allocations: 4 kB / 3.302 GB, free: 244.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/5.542, allocations: 14.21 MB / 3.316 GB, free: 230.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/5.542, allocations: 174.2 kB / 3.316 GB, free: 230.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/7.902, allocations: 0 / 3.316 GB, free: 230.6 MB / 1.151 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