Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001011/0.001011, allocations: 184.8 kB / 487.4 MB, free: 5.012 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.362/1.362, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0008727/0.0008726, allocations: 95.78 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.649e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.487, allocations: 1.886 GB / 3.092 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/5.487, allocations: 86.19 kB / 3.092 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.049/8.536, allocations: 0.9638 GB / 4.056 GB, free: 282 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/8.536, allocations: 3.391 kB / 4.056 GB, free: 282 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.553e-05/8.536, allocations: 22.06 kB / 4.056 GB, free: 282 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003198/8.539, allocations: 1.035 MB / 4.057 GB, free: 281.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/8.539, allocations: 9.812 kB / 4.057 GB, free: 281.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/8.541, allocations: 230.1 kB / 4.057 GB, free: 281.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/8.543, allocations: 0.8932 MB / 4.058 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/8.543, allocations: 10.78 kB / 4.058 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/8.543, allocations: 28.22 kB / 4.058 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005746/8.544, allocations: 326.2 kB / 4.059 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/8.545, allocations: 442.4 kB / 4.059 GB, free: 281 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/8.545, allocations: 2.812 kB / 4.059 GB, free: 281 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/8.545, allocations: 0 / 4.059 GB, free: 281 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/8.545, allocations: 18.81 kB / 4.059 GB, free: 281 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.002651/8.547, allocations: 2.057 MB / 4.061 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/8.548, allocations: 253.1 kB / 4.061 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/8.548, allocations: 122.3 kB / 4.061 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/8.549, allocations: 0.8163 MB / 4.062 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/8.549, allocations: 199.2 kB / 4.062 GB, free: 279 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/8.549, allocations: 0 / 4.062 GB, free: 279 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003561/8.553, allocations: 0.8279 MB / 4.063 GB, free: 278.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/8.553, allocations: 116.1 kB / 4.063 GB, free: 278.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/8.553, allocations: 448.9 kB / 4.064 GB, free: 278.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/8.553, allocations: 25.7 kB / 4.064 GB, free: 278.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/8.553, allocations: 330.3 kB / 4.064 GB, free: 278.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/8.554, allocations: 94.95 kB / 4.064 GB, free: 278.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/8.554, allocations: 3.938 kB / 4.064 GB, free: 278.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/8.554, allocations: 365.8 kB / 4.064 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/8.554, allocations: 104.8 kB / 4.065 GB, free: 278.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/8.554, allocations: 286.7 kB / 4.065 GB, free: 277.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/8.557, allocations: 0.6441 MB / 4.065 GB, free: 277.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/8.557, allocations: 3.5 kB / 4.065 GB, free: 277.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003248/8.56, allocations: 0.9059 MB / 4.066 GB, free: 277.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000326/8.561, allocations: 1.836 MB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/8.561, allocations: 2.875 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/8.561, allocations: 10.38 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/8.561, allocations: 87.25 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/8.561, allocations: 11.64 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/8.561, allocations: 45.84 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/8.561, allocations: 22.75 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/8.561, allocations: 3.781 kB / 4.068 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003079/8.565, allocations: 0.816 MB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/8.565, allocations: 3.969 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/8.565, allocations: 11.53 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/8.565, allocations: 85.61 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/8.565, allocations: 10.03 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/8.565, allocations: 32.11 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/8.565, allocations: 23.56 kB / 4.069 GB, free: 275.9 MB / 1.151 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.0001236/8.565, allocations: 127.5 kB / 4.069 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/8.566, allocations: 58.25 kB / 4.069 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/8.569, allocations: 0.7894 MB / 4.07 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/8.569, allocations: 6.219 kB / 4.07 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/8.569, allocations: 3.188 kB / 4.07 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/8.569, allocations: 7.734 kB / 4.07 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/8.573, allocations: 1.59 MB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/8.573, allocations: 10.53 kB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/8.573, allocations: 45.42 kB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/8.573, allocations: 7.062 kB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/8.573, allocations: 7.219 kB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/8.573, allocations: 7.438 kB / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/8.573, allocations: 0 / 4.072 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/8.576, allocations: 1.213 MB / 4.073 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/8.576, allocations: 161.4 kB / 4.073 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/8.577, allocations: 7.328 kB / 4.073 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/8.577, allocations: 7.688 kB / 4.073 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/8.577, allocations: 33.11 kB / 4.073 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/8.577, allocations: 14.12 kB / 4.073 GB, free: 274.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003815/8.577, allocations: 346.8 kB / 4.074 GB, free: 274.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.577, allocations: 3.938 kB / 4.074 GB, free: 274.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001267/8.579, allocations: 379.3 kB / 4.074 GB, free: 274.6 MB / 1.151 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.002503/8.581, allocations: 1.82 MB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008019/8.582, allocations: 474.7 kB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/8.582, allocations: 0 / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/8.582, allocations: 126.7 kB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/8.583, allocations: 191.7 kB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/8.587, allocations: 1.647 MB / 4.078 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/8.587, allocations: 0.9119 MB / 4.079 GB, free: 273 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007571/8.588, allocations: 207 kB / 4.079 GB, free: 273 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/8.588, allocations: 40.16 kB / 4.079 GB, free: 273 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/8.588, allocations: 0 / 4.079 GB, free: 273 MB / 1.151 GB Notification: Performance of Templates: time 0.0243/8.612, allocations: 16.87 MB / 4.096 GB, free: 269.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches