Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_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.332/2.332, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00168/0.001679, allocations: 176 kB / 0.4901 GB, free: 2.277 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.631/1.631, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001103/0.001103, allocations: 96.06 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 6.969 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3213, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.151, allocations: 1.888 GB / 3.117 GB, free: 94.05 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/5.151, allocations: 91.95 kB / 3.117 GB, free: 93.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.476/8.627, allocations: 0.9749 GB / 4.092 GB, free: 2.129 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/8.628, allocations: 0 / 4.092 GB, free: 2.129 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.633e-05/8.628, allocations: 31.92 kB / 4.092 GB, free: 2.098 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003375/8.631, allocations: 1.147 MB / 4.093 GB, free: 0.8984 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/8.631, allocations: 12.03 kB / 4.093 GB, free: 0.8867 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/8.631, allocations: 74.53 kB / 4.093 GB, free: 0.8047 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/8.632, allocations: 226.8 kB / 4.093 GB, free: 0.582 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.866/9.498, allocations: 0.8856 MB / 4.094 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/9.499, allocations: 30.25 kB / 4.094 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/9.499, allocations: 42.56 kB / 4.094 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/9.5, allocations: 0.5059 MB / 4.095 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/9.5, allocations: 3.625 kB / 4.095 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/9.5, allocations: 14.75 kB / 4.095 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/9.5, allocations: 15.56 kB / 4.095 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/9.501, allocations: 413.4 kB / 4.095 GB, free: 312.8 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.003289/9.504, allocations: 2.148 MB / 4.097 GB, free: 311.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/9.505, allocations: 281.5 kB / 4.098 GB, free: 311.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/9.506, allocations: 0.8209 MB / 4.098 GB, free: 310.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/9.506, allocations: 205.7 kB / 4.099 GB, free: 310.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 3.045e-06/9.506, allocations: 1.531 kB / 4.099 GB, free: 310.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.001285/9.508, allocations: 465.4 kB / 4.099 GB, free: 310.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/9.508, allocations: 107.5 kB / 4.099 GB, free: 310.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/9.509, allocations: 0.5576 MB / 4.1 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/9.509, allocations: 36.39 kB / 4.1 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/9.509, allocations: 324.8 kB / 4.1 GB, free: 310.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/9.509, allocations: 97.31 kB / 4.1 GB, free: 310.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/9.509, allocations: 7.812 kB / 4.1 GB, free: 310.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001605/9.509, allocations: 369.8 kB / 4.101 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/9.509, allocations: 116.3 kB / 4.101 GB, free: 309.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/9.51, allocations: 302.9 kB / 4.101 GB, free: 309.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/9.51, allocations: 162.2 kB / 4.101 GB, free: 309.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/9.51, allocations: 0.875 kB / 4.101 GB, free: 309.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009155/9.511, allocations: 475.4 kB / 4.102 GB, free: 309.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005642/9.512, allocations: 1.835 MB / 4.103 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/9.512, allocations: 5.125 kB / 4.103 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/9.512, allocations: 12.59 kB / 4.103 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/9.512, allocations: 82.27 kB / 4.103 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/9.512, allocations: 10.7 kB / 4.103 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/9.513, allocations: 70.23 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/9.513, allocations: 28.12 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/9.513, allocations: 4.281 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007869/9.514, allocations: 383.6 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/9.514, allocations: 9.266 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/9.514, allocations: 7.656 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/9.514, allocations: 93.81 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/9.514, allocations: 9.109 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/9.514, allocations: 48.84 kB / 4.104 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/9.515, allocations: 24.11 kB / 4.104 GB, free: 307.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.0003708/9.515, allocations: 291.1 kB / 4.104 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/9.515, allocations: 60.92 kB / 4.104 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/9.516, allocations: 343.6 kB / 4.105 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/9.516, allocations: 3.281 kB / 4.105 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/9.516, allocations: 0 / 4.105 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/9.516, allocations: 4.312 kB / 4.105 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/9.518, allocations: 1.193 MB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/9.518, allocations: 2.375 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/9.518, allocations: 42.66 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/9.518, allocations: 8.328 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/9.518, allocations: 10.75 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/9.518, allocations: 3.406 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/9.518, allocations: 2.75 kB / 4.106 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/9.519, allocations: 0.7294 MB / 4.107 GB, free: 306.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/9.519, allocations: 175.8 kB / 4.107 GB, free: 306.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/9.52, allocations: 17.95 kB / 4.107 GB, free: 306.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/9.52, allocations: 13.3 kB / 4.107 GB, free: 306.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/9.52, allocations: 25.81 kB / 4.107 GB, free: 306.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/9.52, allocations: 12.75 kB / 4.107 GB, free: 306.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000648/9.521, allocations: 445.8 kB / 4.107 GB, free: 306.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.521, allocations: 0 / 4.107 GB, free: 306.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001765/9.522, allocations: 424.7 kB / 4.108 GB, free: 306.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.004992/9.527, allocations: 3.513 MB / 4.111 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001237/9.529, allocations: 498.6 kB / 4.112 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/9.529, allocations: 1.344 kB / 4.112 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/9.529, allocations: 139.9 kB / 4.112 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/9.53, allocations: 256.8 kB / 4.112 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/9.541, allocations: 7.267 MB / 4.119 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/9.542, allocations: 0.9089 MB / 4.12 GB, free: 299.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001103/9.543, allocations: 171.2 kB / 4.12 GB, free: 299.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/9.543, allocations: 210.3 kB / 4.12 GB, free: 299.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.475e-06/9.543, allocations: 4.062 kB / 4.12 GB, free: 299.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/9.633, allocations: 36.63 MB / 4.156 GB, free: 299.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/9.634, allocations: 236.8 kB / 4.156 GB, free: 298.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/13.08, allocations: 2.531 kB / 4.156 GB, free: 298.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat