Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001217/0.001217, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009898/0.0009899, allocations: 91.91 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.064e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2826, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.249/5.532, allocations: 1.889 GB / 3.108 GB, free: 426 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/5.532, allocations: 83.95 kB / 3.108 GB, free: 426 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.035/7.567, allocations: 0.6052 GB / 3.713 GB, free: 258 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.373e-06/7.567, allocations: 0 / 3.713 GB, free: 258 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001328/7.567, allocations: 20 kB / 3.713 GB, free: 258 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004002/7.571, allocations: 1.046 MB / 3.714 GB, free: 256.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/7.571, allocations: 12.02 kB / 3.714 GB, free: 256.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/7.571, allocations: 78.36 kB / 3.714 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/7.573, allocations: 220.1 kB / 3.714 GB, free: 256.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/7.576, allocations: 0.8849 MB / 3.715 GB, free: 255.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/7.576, allocations: 32.78 kB / 3.715 GB, free: 255.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/7.576, allocations: 40 kB / 3.715 GB, free: 255.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008366/7.577, allocations: 0.4896 MB / 3.716 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/7.577, allocations: 4 kB / 3.716 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/7.577, allocations: 12 kB / 3.716 GB, free: 255 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/7.577, allocations: 16.78 kB / 3.716 GB, free: 255 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/7.578, allocations: 379 kB / 3.716 GB, free: 254.6 MB / 1.167 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.003077/7.581, allocations: 2.159 MB / 3.718 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/7.581, allocations: 262.7 kB / 3.718 GB, free: 252.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/7.581, allocations: 133.6 kB / 3.719 GB, free: 251.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/7.582, allocations: 0.8183 MB / 3.719 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/7.583, allocations: 212.8 kB / 3.72 GB, free: 250.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 3.747e-06/7.583, allocations: 3.938 kB / 3.72 GB, free: 250.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.0008582/7.584, allocations: 353.6 kB / 3.72 GB, free: 250.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/7.584, allocations: 107 kB / 3.72 GB, free: 250.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/7.584, allocations: 0.5464 MB / 3.72 GB, free: 249.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/7.584, allocations: 33.7 kB / 3.721 GB, free: 249.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/7.585, allocations: 327.6 kB / 3.721 GB, free: 249.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/7.585, allocations: 98.64 kB / 3.721 GB, free: 249.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/7.585, allocations: 11.94 kB / 3.721 GB, free: 249.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.585, allocations: 370.8 kB / 3.721 GB, free: 248.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/7.585, allocations: 112.8 kB / 3.721 GB, free: 248.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/7.585, allocations: 301.6 kB / 3.722 GB, free: 248.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/7.585, allocations: 161.2 kB / 3.722 GB, free: 248.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/7.586, allocations: 4 kB / 3.722 GB, free: 248.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006934/7.586, allocations: 459.4 kB / 3.722 GB, free: 247.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004557/7.587, allocations: 1.829 MB / 3.724 GB, free: 245.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/7.587, allocations: 8 kB / 3.724 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/7.587, allocations: 8 kB / 3.724 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/7.587, allocations: 87.83 kB / 3.724 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/7.587, allocations: 11.94 kB / 3.724 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/7.588, allocations: 67.5 kB / 3.724 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/7.588, allocations: 23.95 kB / 3.724 GB, free: 245.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/7.588, allocations: 4 kB / 3.724 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005495/7.588, allocations: 377.8 kB / 3.725 GB, free: 245.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/7.588, allocations: 4 kB / 3.725 GB, free: 245.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/7.588, allocations: 11.28 kB / 3.725 GB, free: 245.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/7.589, allocations: 91.83 kB / 3.725 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/7.589, allocations: 4 kB / 3.725 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/7.589, allocations: 55.86 kB / 3.725 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/7.589, allocations: 27.98 kB / 3.725 GB, free: 245 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001257/7.589, allocations: 133.5 kB / 3.725 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/7.589, allocations: 67.2 kB / 3.725 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/7.59, allocations: 319.9 kB / 3.725 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/7.59, allocations: 4 kB / 3.725 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/7.59, allocations: 8 kB / 3.725 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/7.59, allocations: 4 kB / 3.725 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/7.591, allocations: 1.184 MB / 3.726 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/7.591, allocations: 4 kB / 3.726 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/7.591, allocations: 43.92 kB / 3.727 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/7.591, allocations: 4 kB / 3.727 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/7.592, allocations: 12.22 kB / 3.727 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/7.592, allocations: 4 kB / 3.727 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/7.592, allocations: 96 / 3.727 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/7.592, allocations: 0.7331 MB / 3.727 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/7.593, allocations: 180.2 kB / 3.727 GB, free: 242.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/7.593, allocations: 8 kB / 3.727 GB, free: 242.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/7.593, allocations: 19.98 kB / 3.727 GB, free: 242.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/7.593, allocations: 23.91 kB / 3.727 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/7.593, allocations: 12 kB / 3.727 GB, free: 242 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004598/7.593, allocations: 443.1 kB / 3.728 GB, free: 241.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/7.593, allocations: 0 / 3.728 GB, free: 241.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001477/7.595, allocations: 423 kB / 3.728 GB, free: 241.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004109/7.599, allocations: 3.453 MB / 3.732 GB, free: 237.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008269/7.6, allocations: 0.5099 MB / 3.732 GB, free: 237.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/7.6, allocations: 0 / 3.732 GB, free: 237.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/7.6, allocations: 131.8 kB / 3.732 GB, free: 237.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/7.601, allocations: 255.4 kB / 3.733 GB, free: 236.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/7.606, allocations: 1.869 MB / 3.734 GB, free: 234.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/7.606, allocations: 0.9035 MB / 3.735 GB, free: 234 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008715/7.607, allocations: 232.8 kB / 3.735 GB, free: 233.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/7.607, allocations: 206.9 kB / 3.736 GB, free: 233.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.41e-07/7.607, allocations: 0 / 3.736 GB, free: 233.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0696/7.677, allocations: 41.29 MB / 3.776 GB, free: 192.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/7.677, allocations: 206 kB / 3.776 GB, free: 192.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/11.13, allocations: 0 / 3.776 GB, free: 192.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat