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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 107.9 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 193 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 74.27 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.7781/1.088, allocations: 180.3 MB / 1.203 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009438/1.097, allocations: 3.744 MB / 1.206 GB, free: 28 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/1.098, allocations: 27.78 kB / 1.206 GB, free: 16 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.1, allocations: 442.8 kB / 1.207 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/1.104, allocations: 1.25 MB / 1.208 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/1.106, allocations: 0.7416 MB / 1.209 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002016/1.108, allocations: 1.357 MB / 1.21 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/1.109, allocations: 477.8 kB / 1.211 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/1.112, allocations: 0.9717 MB / 1.212 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/1.112, allocations: 465.4 kB / 1.212 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/1.112, allocations: 42.5 kB / 1.212 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/1.115, allocations: 1.19 MB / 1.213 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.115, allocations: 197.9 kB / 1.213 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/1.115, allocations: 323.5 kB / 1.214 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/1.117, allocations: 1.195 MB / 1.215 GB, free: 10.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.117, allocations: 3.031 kB / 1.215 GB, free: 10.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.117, allocations: 0 / 1.215 GB, free: 10.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.916e-06/1.117, allocations: 0 / 1.215 GB, free: 10.5 MB / 0.92 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.002072/1.119, allocations: 1.04 MB / 1.216 GB, free: 9.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.119, allocations: 10.38 kB / 1.216 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/1.121, allocations: 220.9 kB / 1.216 GB, free: 9.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/1.122, allocations: 0.5692 MB / 1.217 GB, free: 9.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/1.122, allocations: 28.12 kB / 1.217 GB, free: 9.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/1.122, allocations: 39.19 kB / 1.217 GB, free: 9.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.123, allocations: 0.5356 MB / 1.217 GB, free: 8.695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.123, allocations: 0 / 1.217 GB, free: 8.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.123, allocations: 17.69 kB / 1.217 GB, free: 8.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.123, allocations: 16.12 kB / 1.217 GB, free: 8.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/1.124, allocations: 0.5075 MB / 1.218 GB, free: 8.43 MB / 0.92 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.003617/1.128, allocations: 2.22 MB / 1.22 GB, free: 6.488 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/1.128, allocations: 339.5 kB / 1.22 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/1.129, allocations: 152.5 kB / 1.22 GB, free: 6.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.13, allocations: 0.8412 MB / 1.221 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/1.13, allocations: 195.8 kB / 1.221 GB, free: 5.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/1.13, allocations: 0 / 1.221 GB, free: 5.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001029/1.132, allocations: 438.7 kB / 1.222 GB, free: 4.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.132, allocations: 79.67 kB / 1.222 GB, free: 4.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/1.133, allocations: 0.6486 MB / 1.223 GB, free: 4.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.133, allocations: 29.7 kB / 1.223 GB, free: 4.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/1.133, allocations: 323.7 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/1.133, allocations: 90.73 kB / 1.223 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.133, allocations: 81.58 kB / 1.223 GB, free: 3.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.133, allocations: 374.7 kB / 1.223 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/1.134, allocations: 136.8 kB / 1.224 GB, free: 3.281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/1.134, allocations: 281 kB / 1.224 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/1.135, allocations: 380.8 kB / 1.224 GB, free: 2.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.135, allocations: 7.984 kB / 1.224 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009269/1.136, allocations: 470.8 kB / 1.225 GB, free: 2.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.136, allocations: 10.5 kB / 1.225 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.136, allocations: 8 kB / 1.225 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.136, allocations: 4 kB / 1.225 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.136, allocations: 87.89 kB / 1.225 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.136, allocations: 7.938 kB / 1.225 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/1.137, allocations: 84.61 kB / 1.225 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/1.137, allocations: 19.92 kB / 1.225 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000477/1.137, allocations: 296 kB / 1.225 GB, free: 1.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004188/1.138, allocations: 278.5 kB / 1.225 GB, free: 1.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005974/1.138, allocations: 385.1 kB / 1.226 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.945e-06/1.138, allocations: 1.562 kB / 1.226 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009367/1.139, allocations: 478.8 kB / 1.226 GB, free: 312 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.139, allocations: 4 kB / 1.226 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/1.139, allocations: 8.406 kB / 1.226 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.139, allocations: 12 kB / 1.226 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/1.14, allocations: 79.89 kB / 1.226 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.14, allocations: 11.98 kB / 1.226 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/1.14, allocations: 63.69 kB / 1.226 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/1.14, allocations: 24.8 kB / 1.226 GB, free: 108 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/1.14, allocations: 200.2 kB / 1.227 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/1.14, allocations: 59.25 kB / 1.227 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/1.141, allocations: 327.7 kB / 1.227 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.141, allocations: 4.062 kB / 1.227 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.141, allocations: 8 kB / 1.227 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.141, allocations: 3.938 kB / 1.227 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/1.143, allocations: 1.079 MB / 1.228 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.143, allocations: 4 kB / 1.228 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/1.143, allocations: 43.86 kB / 1.228 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.143, allocations: 4 kB / 1.228 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.143, allocations: 4.312 kB / 1.228 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/1.143, allocations: 8 kB / 1.228 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/1.143, allocations: 7.938 kB / 1.228 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/1.144, allocations: 474.2 kB / 1.229 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/1.144, allocations: 164.2 kB / 1.229 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/1.144, allocations: 7.938 kB / 1.229 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.144, allocations: 23.98 kB / 1.229 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/1.144, allocations: 23.92 kB / 1.229 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/1.144, allocations: 11.98 kB / 1.229 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006295/1.145, allocations: 483 kB / 1.229 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 1.229 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009199/1.146, allocations: 267.6 kB / 1.23 GB, free: 12.77 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/1.147, allocations: 0.5111 MB / 1.23 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.148, allocations: 0.5031 MB / 1.231 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.148, allocations: 0.5 kB / 1.231 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/1.149, allocations: 123.8 kB / 1.231 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.15, allocations: 279.6 kB / 1.231 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/1.152, allocations: 1.015 MB / 1.232 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/1.152, allocations: 0.8899 MB / 1.233 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005775/1.153, allocations: 176.8 kB / 1.233 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.153, allocations: 43.42 kB / 1.233 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of SimCode: time 6.52e-07/1.153, allocations: 0 / 1.233 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.0187/1.172, allocations: 10.39 MB / 1.243 GB, free: 15.07 MB / 0.9512 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches