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/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_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_latest_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_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001523, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001605/0.001606, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241 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.722/2.722, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 72.25 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8987/0.9002, 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_dynamic): time 0.2033/1.104, allocations: 180.3 MB / 1.385 GB, free: 8.605 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008301/1.112, allocations: 3.741 MB / 1.388 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/1.113, allocations: 27.81 kB / 1.388 GB, free: 4.828 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.115, allocations: 437.5 kB / 1.389 GB, free: 4.398 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004679/1.12, allocations: 1.252 MB / 1.39 GB, free: 3.145 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/1.123, allocations: 0.7431 MB / 1.391 GB, free: 2.406 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003128/1.126, allocations: 1.356 MB / 1.392 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/1.127, allocations: 489.3 kB / 1.392 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/1.131, allocations: 1.002 MB / 1.393 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/1.133, allocations: 454.2 kB / 1.394 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002611/1.133, allocations: 44 kB / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/1.136, allocations: 1.193 MB / 1.395 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/1.136, allocations: 199.4 kB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/1.137, allocations: 322.3 kB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/1.14, allocations: 1.209 MB / 1.397 GB, free: 12.16 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.14, allocations: 0 / 1.397 GB, free: 12.16 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.803e-06/1.14, allocations: 4 kB / 1.397 GB, free: 12.15 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.64e-05/1.14, allocations: 0 / 1.397 GB, free: 12.15 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.002481/1.142, allocations: 1.048 MB / 1.398 GB, free: 11.05 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.142, allocations: 8.031 kB / 1.398 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/1.144, allocations: 219 kB / 1.398 GB, free: 10.83 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.145, allocations: 0.5693 MB / 1.398 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/1.145, allocations: 32.98 kB / 1.398 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/1.145, allocations: 40 kB / 1.399 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.146, allocations: 0.5473 MB / 1.399 GB, free: 9.582 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.146, allocations: 4 kB / 1.399 GB, free: 9.578 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/1.146, allocations: 16 kB / 1.399 GB, free: 9.562 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.146, allocations: 21 kB / 1.399 GB, free: 9.543 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/1.147, allocations: 0.4957 MB / 1.4 GB, free: 9.047 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.003292/1.151, allocations: 2.214 MB / 1.402 GB, free: 6.656 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/1.151, allocations: 359.9 kB / 1.402 GB, free: 6.277 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/1.152, allocations: 148.8 kB / 1.402 GB, free: 6.129 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.153, allocations: 0.8376 MB / 1.403 GB, free: 5.125 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/1.153, allocations: 201 kB / 1.403 GB, free: 4.91 MB / 1.123 GB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/1.153, allocations: 0 / 1.403 GB, free: 4.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=28): time 0.001097/1.154, allocations: 459 kB / 1.404 GB, free: 4.457 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.154, allocations: 81.11 kB / 1.404 GB, free: 4.359 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/1.155, allocations: 0.6563 MB / 1.404 GB, free: 3.695 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/1.155, allocations: 37.64 kB / 1.404 GB, free: 3.652 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/1.156, allocations: 315.8 kB / 1.405 GB, free: 3.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.022e-05/1.156, allocations: 94.59 kB / 1.405 GB, free: 3.246 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/1.156, allocations: 86.03 kB / 1.405 GB, free: 3.156 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.156, allocations: 366.8 kB / 1.405 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/1.157, allocations: 150.5 kB / 1.405 GB, free: 2.641 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/1.157, allocations: 298.2 kB / 1.406 GB, free: 2.285 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/1.158, allocations: 408.8 kB / 1.406 GB, free: 1.832 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.158, allocations: 0 / 1.406 GB, free: 1.832 MB / 1.123 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001084/1.159, allocations: 0.4964 MB / 1.407 GB, free: 1.332 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.159, allocations: 4 kB / 1.407 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.159, allocations: 4 kB / 1.407 GB, free: 1.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.159, allocations: 8 kB / 1.407 GB, free: 1.316 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.159, allocations: 95.98 kB / 1.407 GB, free: 1.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.159, allocations: 11.98 kB / 1.407 GB, free: 1.211 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/1.16, allocations: 79.48 kB / 1.407 GB, free: 1.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.16, allocations: 20 kB / 1.407 GB, free: 1.113 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006008/1.161, allocations: 296.9 kB / 1.407 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005036/1.161, allocations: 306.2 kB / 1.407 GB, free: 468 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006669/1.162, allocations: 411 kB / 1.408 GB, free: 0 / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.909e-05/1.162, allocations: 4.047 kB / 1.408 GB, free: 15.99 MB / 1.139 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001207/1.163, allocations: 499.8 kB / 1.408 GB, free: 15.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.163, allocations: 8 kB / 1.408 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.163, allocations: 4 kB / 1.408 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.163, allocations: 4 kB / 1.408 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/1.164, allocations: 95.98 kB / 1.408 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.164, allocations: 11.94 kB / 1.408 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/1.165, allocations: 63.7 kB / 1.408 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.165, allocations: 23.98 kB / 1.408 GB, free: 15.3 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 (47): * Single equations (assignments): 47 * 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.0002797/1.165, allocations: 216 kB / 1.409 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/1.165, allocations: 59.25 kB / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/1.166, allocations: 335.8 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.166, allocations: 4 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.166, allocations: 4.188 kB / 1.409 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.166, allocations: 3.984 kB / 1.409 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.169, allocations: 1.12 MB / 1.41 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.169, allocations: 4 kB / 1.41 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.169, allocations: 47.91 kB / 1.41 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.169, allocations: 4 kB / 1.41 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/1.169, allocations: 8 kB / 1.41 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/1.169, allocations: 4 kB / 1.41 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.169, allocations: 4 kB / 1.41 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/1.171, allocations: 0.6286 MB / 1.411 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/1.171, allocations: 156.4 kB / 1.411 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.171, allocations: 8 kB / 1.411 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.172, allocations: 19.98 kB / 1.411 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/1.172, allocations: 39.81 kB / 1.411 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/1.172, allocations: 8 kB / 1.411 GB, free: 12.47 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001016/1.173, allocations: 479 kB / 1.411 GB, free: 12 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.708e-06/1.173, allocations: 0 / 1.411 GB, free: 12 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001549/1.174, allocations: 263.7 kB / 1.412 GB, free: 11.75 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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.001761/1.176, allocations: 0.5149 MB / 1.412 GB, free: 11.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.178, allocations: 0.5356 MB / 1.413 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.178, allocations: 0 / 1.413 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/1.178, allocations: 128.8 kB / 1.413 GB, free: 10.73 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.18, allocations: 283 kB / 1.413 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/1.184, allocations: 1.182 MB / 1.414 GB, free: 9.219 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/1.184, allocations: 0.8939 MB / 1.415 GB, free: 8.297 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/1.185, allocations: 55.42 kB / 1.415 GB, free: 8.242 MB / 1.139 GB Notification: Performance of SimCode: time 1.242e-06/1.185, allocations: 4 kB / 1.415 GB, free: 8.238 MB / 1.139 GB Notification: Performance of Templates: time 0.02316/1.208, allocations: 10.03 MB / 1.425 GB, free: 14.3 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (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 & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches