Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,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_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,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_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.98 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.001265/0.001265, allocations: 180.9 kB / 491.2 MB, free: 1.609 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.6/1.6, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009178/0.000918, allocations: 98.53 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.574e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3154, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/6.043, allocations: 1.887 GB / 3.099 GB, free: 430.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/6.043, allocations: 85.86 kB / 3.099 GB, free: 430.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.12/8.163, allocations: 0.5977 GB / 3.697 GB, free: 266 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.744e-06/8.163, allocations: 0 / 3.697 GB, free: 266 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001111/8.164, allocations: 19.52 kB / 3.697 GB, free: 266 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.003624/8.167, allocations: 1.028 MB / 3.698 GB, free: 265 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/8.167, allocations: 15.09 kB / 3.698 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/8.169, allocations: 217.2 kB / 3.698 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/8.172, allocations: 0.8764 MB / 3.699 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/8.172, allocations: 15.27 kB / 3.699 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/8.172, allocations: 24 kB / 3.699 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007346/8.173, allocations: 340.7 kB / 3.699 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/8.173, allocations: 441.8 kB / 3.7 GB, free: 263.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/8.173, allocations: 0 / 3.7 GB, free: 263.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/8.174, allocations: 3.938 kB / 3.7 GB, free: 263.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/8.174, allocations: 16.77 kB / 3.7 GB, free: 263.1 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.003104/8.177, allocations: 2.044 MB / 3.702 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/8.177, allocations: 236.9 kB / 3.702 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/8.177, allocations: 112.8 kB / 3.702 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/8.178, allocations: 0.8194 MB / 3.703 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/8.178, allocations: 187.1 kB / 3.703 GB, free: 259.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/8.179, allocations: 0 / 3.703 GB, free: 259.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.003715/8.182, allocations: 0.8263 MB / 3.704 GB, free: 258.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/8.182, allocations: 110.5 kB / 3.704 GB, free: 258.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/8.183, allocations: 453.9 kB / 3.705 GB, free: 258 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/8.183, allocations: 29.7 kB / 3.705 GB, free: 258 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/8.183, allocations: 331.7 kB / 3.705 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/8.183, allocations: 82.75 kB / 3.705 GB, free: 257.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/8.183, allocations: 0 / 3.705 GB, free: 257.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000112/8.183, allocations: 366.7 kB / 3.705 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/8.184, allocations: 99.95 kB / 3.705 GB, free: 257.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/8.184, allocations: 275.6 kB / 3.706 GB, free: 256.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/8.187, allocations: 0.6526 MB / 3.706 GB, free: 256.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/8.187, allocations: 4 kB / 3.706 GB, free: 256.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003421/8.19, allocations: 0.8891 MB / 3.707 GB, free: 255.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004838/8.191, allocations: 1.833 MB / 3.709 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/8.191, allocations: 4 kB / 3.709 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/8.191, allocations: 8 kB / 3.709 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/8.191, allocations: 87.83 kB / 3.709 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/8.191, allocations: 7.938 kB / 3.709 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/8.192, allocations: 43.67 kB / 3.709 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/8.192, allocations: 23.98 kB / 3.709 GB, free: 253 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/8.192, allocations: 4 kB / 3.709 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003167/8.195, allocations: 0.8162 MB / 3.71 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/8.195, allocations: 8 kB / 3.71 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/8.195, allocations: 4 kB / 3.71 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/8.195, allocations: 87.89 kB / 3.71 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/8.195, allocations: 12.5 kB / 3.71 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/8.196, allocations: 39.69 kB / 3.71 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/8.196, allocations: 16.09 kB / 3.71 GB, free: 252.1 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 (45): * Single equations (assignments): 45 * 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.0001557/8.196, allocations: 127.3 kB / 3.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/8.196, allocations: 55.34 kB / 3.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/8.199, allocations: 0.7917 MB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/8.199, allocations: 4 kB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/8.2, allocations: 0 / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/8.2, allocations: 0 / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/8.204, allocations: 1.592 MB / 3.713 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/8.204, allocations: 4 kB / 3.713 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/8.204, allocations: 43.91 kB / 3.713 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/8.204, allocations: 7.953 kB / 3.713 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/8.204, allocations: 8 kB / 3.713 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/8.204, allocations: 11.92 kB / 3.713 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/8.204, allocations: 4 kB / 3.713 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/8.207, allocations: 1.065 MB / 3.714 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/8.208, allocations: 164.3 kB / 3.714 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/8.208, allocations: 4 kB / 3.714 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/8.208, allocations: 7.984 kB / 3.714 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/8.208, allocations: 23.94 kB / 3.714 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/8.208, allocations: 11.98 kB / 3.714 GB, free: 247.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004458/8.209, allocations: 350.9 kB / 3.714 GB, free: 247.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/8.209, allocations: 0 / 3.714 GB, free: 247.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001496/8.21, allocations: 375.2 kB / 3.715 GB, free: 247.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.00313/8.213, allocations: 1.823 MB / 3.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008141/8.214, allocations: 432.7 kB / 3.717 GB, free: 245.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/8.214, allocations: 3.5 kB / 3.717 GB, free: 245.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/8.214, allocations: 124.4 kB / 3.717 GB, free: 245.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/8.215, allocations: 198.5 kB / 3.717 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/8.219, allocations: 1.506 MB / 3.719 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/8.22, allocations: 0.9101 MB / 3.72 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008394/8.221, allocations: 196.4 kB / 3.72 GB, free: 242.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/8.221, allocations: 43.42 kB / 3.72 GB, free: 242.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/8.221, allocations: 4 kB / 3.72 GB, free: 242.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02615/8.247, allocations: 16.66 MB / 3.736 GB, free: 225.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches