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.375/2.375, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001403/0.001403, allocations: 172 kB / 0.4901 GB, free: 2.215 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.815/1.815, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001288/0.001287, allocations: 92.27 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 7.844 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3366, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.221, allocations: 1.889 GB / 3.118 GB, free: 92.42 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/5.222, allocations: 95.89 kB / 3.118 GB, free: 92.33 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.739/7.961, allocations: 0.6057 GB / 3.724 GB, free: 303.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.914e-06/7.961, allocations: 3.938 kB / 3.724 GB, free: 303.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.004e-05/7.961, allocations: 17.83 kB / 3.724 GB, free: 303.8 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.003592/7.964, allocations: 1.155 MB / 3.725 GB, free: 303.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/7.965, allocations: 15.02 kB / 3.725 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/7.965, allocations: 74.95 kB / 3.725 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/7.966, allocations: 233.5 kB / 3.725 GB, free: 303.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/7.968, allocations: 0.8877 MB / 3.726 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/7.968, allocations: 31.78 kB / 3.726 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/7.968, allocations: 40.25 kB / 3.726 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/7.969, allocations: 0.5091 MB / 3.727 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/7.969, allocations: 7.219 kB / 3.727 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/7.969, allocations: 14.47 kB / 3.727 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/7.969, allocations: 15.91 kB / 3.727 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/7.97, allocations: 411.5 kB / 3.727 GB, free: 302.9 MB / 1.167 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.002772/7.973, allocations: 2.166 MB / 3.729 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/7.974, allocations: 278.5 kB / 3.73 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/7.975, allocations: 0.8219 MB / 3.73 GB, free: 300.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/7.975, allocations: 199.1 kB / 3.731 GB, free: 300.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/7.975, allocations: 0 / 3.731 GB, free: 300.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.00101/7.976, allocations: 465.2 kB / 3.731 GB, free: 300.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/7.976, allocations: 105.9 kB / 3.731 GB, free: 300.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/7.977, allocations: 0.5507 MB / 3.732 GB, free: 300.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/7.977, allocations: 32.02 kB / 3.732 GB, free: 300.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/7.977, allocations: 328 kB / 3.732 GB, free: 300.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/7.977, allocations: 94.02 kB / 3.732 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/7.977, allocations: 9.344 kB / 3.732 GB, free: 300.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001228/7.977, allocations: 374.3 kB / 3.732 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/7.977, allocations: 114.5 kB / 3.733 GB, free: 299.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/7.978, allocations: 309.8 kB / 3.733 GB, free: 299.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/7.978, allocations: 168.3 kB / 3.733 GB, free: 299.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/7.978, allocations: 0 / 3.733 GB, free: 299.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006611/7.979, allocations: 474.2 kB / 3.733 GB, free: 299.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000471/7.979, allocations: 1.834 MB / 3.735 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/7.979, allocations: 6.219 kB / 3.735 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/7.979, allocations: 7.844 kB / 3.735 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/7.979, allocations: 85.3 kB / 3.735 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/7.979, allocations: 13.12 kB / 3.735 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/7.98, allocations: 60.16 kB / 3.735 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/7.98, allocations: 28.89 kB / 3.735 GB, free: 297.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/7.98, allocations: 7.75 kB / 3.735 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005689/7.981, allocations: 384.9 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/7.981, allocations: 3.906 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/7.981, allocations: 12.72 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/7.981, allocations: 91.2 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/7.981, allocations: 11.12 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/7.981, allocations: 59.52 kB / 3.736 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/7.981, allocations: 17.97 kB / 3.736 GB, free: 297.7 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 () * Number of clocked 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.0003081/7.982, allocations: 293.9 kB / 3.736 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/7.982, allocations: 65.12 kB / 3.736 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/7.982, allocations: 328.8 kB / 3.737 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/7.982, allocations: 3.969 kB / 3.737 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/7.982, allocations: 0 / 3.737 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/7.982, allocations: 3.609 kB / 3.737 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/7.984, allocations: 1.187 MB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/7.984, allocations: 2.969 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/7.984, allocations: 51.36 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/7.984, allocations: 3.781 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/7.984, allocations: 6.594 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/7.984, allocations: 11.2 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/7.984, allocations: 3.875 kB / 3.738 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/7.985, allocations: 0.7299 MB / 3.739 GB, free: 296.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/7.985, allocations: 174.8 kB / 3.739 GB, free: 296.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/7.985, allocations: 7.094 kB / 3.739 GB, free: 296.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/7.986, allocations: 22.36 kB / 3.739 GB, free: 296.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/7.986, allocations: 31.33 kB / 3.739 GB, free: 296.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/7.986, allocations: 10.59 kB / 3.739 GB, free: 296.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006202/7.986, allocations: 443.2 kB / 3.739 GB, free: 296.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/7.986, allocations: 0 / 3.739 GB, free: 296.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001833/7.988, allocations: 423.6 kB / 3.74 GB, free: 296.3 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) * Number of clocked states: 0 () * 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.004835/7.993, allocations: 3.522 MB / 3.743 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001084/7.994, allocations: 0.4924 MB / 3.744 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/7.994, allocations: 3.281 kB / 3.744 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/7.994, allocations: 139.2 kB / 3.744 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/7.996, allocations: 264.3 kB / 3.744 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/8.005, allocations: 7.269 MB / 3.751 GB, free: 290.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/8.005, allocations: 0.9151 MB / 3.752 GB, free: 289.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007563/8.006, allocations: 172.7 kB / 3.752 GB, free: 289.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/8.006, allocations: 208.5 kB / 3.752 GB, free: 289.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/8.006, allocations: 0 / 3.752 GB, free: 289.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/8.067, allocations: 36.64 MB / 3.788 GB, free: 288.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/8.068, allocations: 237.9 kB / 3.788 GB, free: 288.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/11.45, allocations: 0 / 3.788 GB, free: 288.2 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