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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008296/0.008297, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002173/0.002174, allocations: 193.4 kB / 16.67 MB, free: 5.957 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.12 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8064, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1966/1.003, allocations: 180.3 MB / 1.384 GB, free: 8.605 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007015/1.01, allocations: 3.738 MB / 1.387 GB, free: 4.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/1.011, allocations: 27.81 kB / 1.387 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.012, allocations: 433.5 kB / 1.388 GB, free: 4.406 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/1.015, allocations: 1.252 MB / 1.389 GB, free: 3.148 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/1.017, allocations: 0.7396 MB / 1.39 GB, free: 2.414 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001633/1.019, allocations: 1.36 MB / 1.391 GB, free: 1.051 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/1.019, allocations: 473.4 kB / 1.392 GB, free: 0.582 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/1.022, allocations: 1.003 MB / 1.393 GB, free: 15.58 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/1.022, allocations: 458.1 kB / 1.393 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/1.023, allocations: 44 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/1.025, allocations: 1.189 MB / 1.394 GB, free: 13.9 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/1.025, allocations: 195.4 kB / 1.394 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/1.025, allocations: 322.3 kB / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/1.027, allocations: 1.19 MB / 1.396 GB, free: 12.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.027, allocations: 0 / 1.396 GB, free: 12.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.583e-06/1.027, allocations: 0 / 1.396 GB, free: 12.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.027, allocations: 4 kB / 1.396 GB, free: 12.2 MB / 1.123 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.002118/1.029, allocations: 1.048 MB / 1.397 GB, free: 11.1 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.029, allocations: 15.97 kB / 1.397 GB, free: 11.08 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.03, allocations: 215 kB / 1.397 GB, free: 10.87 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/1.031, allocations: 0.5693 MB / 1.398 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/1.031, allocations: 33 kB / 1.398 GB, free: 10.23 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/1.031, allocations: 39.98 kB / 1.398 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.033, allocations: 0.5349 MB / 1.398 GB, free: 9.637 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.033, allocations: 7.938 kB / 1.398 GB, free: 9.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/1.033, allocations: 8 kB / 1.398 GB, free: 9.621 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/1.033, allocations: 21 kB / 1.398 GB, free: 9.602 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.034, allocations: 0.4997 MB / 1.399 GB, free: 9.102 MB / 1.123 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.003254/1.037, allocations: 2.215 MB / 1.401 GB, free: 6.695 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/1.038, allocations: 359.6 kB / 1.401 GB, free: 6.316 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/1.038, allocations: 140.7 kB / 1.401 GB, free: 6.176 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/1.039, allocations: 0.8377 MB / 1.402 GB, free: 5.172 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/1.04, allocations: 197.3 kB / 1.402 GB, free: 4.965 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/1.04, allocations: 4 kB / 1.402 GB, free: 4.961 MB / 1.123 GB Notification: Performance of matching and sorting (n=26): time 0.0009924/1.041, allocations: 435.4 kB / 1.403 GB, free: 4.531 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.041, allocations: 81.11 kB / 1.403 GB, free: 4.434 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/1.042, allocations: 0.6525 MB / 1.404 GB, free: 3.773 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/1.042, allocations: 33.7 kB / 1.404 GB, free: 3.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/1.042, allocations: 327.7 kB / 1.404 GB, free: 3.41 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/1.042, allocations: 82.84 kB / 1.404 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.042, allocations: 77.59 kB / 1.404 GB, free: 3.246 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.042, allocations: 370.7 kB / 1.404 GB, free: 2.875 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/1.043, allocations: 140.8 kB / 1.405 GB, free: 2.734 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/1.043, allocations: 281 kB / 1.405 GB, free: 2.398 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/1.044, allocations: 387.3 kB / 1.405 GB, free: 1.965 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.044, allocations: 0 / 1.405 GB, free: 1.965 MB / 1.123 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009929/1.045, allocations: 478.9 kB / 1.406 GB, free: 1.492 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.045, allocations: 8 kB / 1.406 GB, free: 1.484 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.045, allocations: 4 kB / 1.406 GB, free: 1.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.045, allocations: 8 kB / 1.406 GB, free: 1.473 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.045, allocations: 79.89 kB / 1.406 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.045, allocations: 11.94 kB / 1.406 GB, free: 1.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/1.046, allocations: 79.64 kB / 1.406 GB, free: 1.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/1.046, allocations: 19.98 kB / 1.406 GB, free: 1.285 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004942/1.046, allocations: 300 kB / 1.406 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004241/1.047, allocations: 277.7 kB / 1.406 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006159/1.047, allocations: 387.1 kB / 1.407 GB, free: 228 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/1.047, allocations: 4 kB / 1.407 GB, free: 224 kB / 1.123 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009937/1.048, allocations: 475.2 kB / 1.407 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.048, allocations: 8 kB / 1.407 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.048, allocations: 4 kB / 1.407 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/1.048, allocations: 4 kB / 1.407 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/1.049, allocations: 83.83 kB / 1.407 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.049, allocations: 19.86 kB / 1.407 GB, free: 15.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/1.049, allocations: 67.72 kB / 1.407 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.049, allocations: 23.98 kB / 1.407 GB, free: 15.54 MB / 1.139 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.0001437/1.05, allocations: 200.1 kB / 1.408 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/1.05, allocations: 63.25 kB / 1.408 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/1.05, allocations: 323.8 kB / 1.408 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.05, allocations: 4 kB / 1.408 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.05, allocations: 3.938 kB / 1.408 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.05, allocations: 0 / 1.408 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/1.052, allocations: 1.087 MB / 1.409 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.052, allocations: 4.312 kB / 1.409 GB, free: 13.76 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/1.052, allocations: 47.92 kB / 1.409 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.052, allocations: 4 kB / 1.409 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/1.052, allocations: 8 kB / 1.409 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.052, allocations: 4 kB / 1.409 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.052, allocations: 4 kB / 1.409 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/1.053, allocations: 473.6 kB / 1.41 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.053, allocations: 164.2 kB / 1.41 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/1.053, allocations: 12 kB / 1.41 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/1.053, allocations: 11.98 kB / 1.41 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/1.053, allocations: 27.86 kB / 1.41 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/1.053, allocations: 15.98 kB / 1.41 GB, free: 12.94 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006155/1.054, allocations: 479 kB / 1.41 GB, free: 12.48 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.6e-07/1.054, allocations: 0 / 1.41 GB, free: 12.48 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008291/1.055, allocations: 267.5 kB / 1.411 GB, free: 12.21 MB / 1.139 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.001197/1.056, allocations: 0.5122 MB / 1.411 GB, free: 11.86 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.057, allocations: 0.5038 MB / 1.412 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.057, allocations: 0 / 1.412 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.057, allocations: 127.8 kB / 1.412 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.059, allocations: 282.2 kB / 1.412 GB, free: 10.97 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/1.06, allocations: 1.016 MB / 1.413 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.061, allocations: 0.8938 MB / 1.414 GB, free: 8.973 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005249/1.061, allocations: 168.8 kB / 1.414 GB, free: 8.809 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/1.061, allocations: 47.42 kB / 1.414 GB, free: 8.762 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/1.062, allocations: 4 kB / 1.414 GB, free: 8.758 MB / 1.139 GB Notification: Performance of Templates: time 0.01933/1.081, allocations: 10.59 MB / 1.424 GB, free: 14.31 MB / 1.154 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","/var/lib/jenkins/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