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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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.0092/0.0092, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001218/0.001218, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.576/2.576, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8735, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1966/1.07, allocations: 180.3 MB / 1.402 GB, free: 8.504 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007306/1.077, allocations: 3.746 MB / 1.405 GB, free: 4.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/1.079, allocations: 31.81 kB / 1.405 GB, free: 4.719 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/1.08, allocations: 429.6 kB / 1.406 GB, free: 4.297 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/1.083, allocations: 1.252 MB / 1.407 GB, free: 3.039 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/1.086, allocations: 0.7506 MB / 1.408 GB, free: 2.293 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002107/1.088, allocations: 1.356 MB / 1.409 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007425/1.089, allocations: 485.3 kB / 1.41 GB, free: 464 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/1.092, allocations: 0.9731 MB / 1.411 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/1.093, allocations: 462.1 kB / 1.411 GB, free: 15.03 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/1.093, allocations: 44 kB / 1.411 GB, free: 14.99 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/1.095, allocations: 1.193 MB / 1.412 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/1.096, allocations: 195.4 kB / 1.412 GB, free: 13.6 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004104/1.096, allocations: 334.2 kB / 1.413 GB, free: 13.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/1.098, allocations: 1.204 MB / 1.414 GB, free: 12.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.098, allocations: 0 / 1.414 GB, free: 12.07 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.357e-06/1.098, allocations: 3.984 kB / 1.414 GB, free: 12.06 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.098, allocations: 4 kB / 1.414 GB, free: 12.06 MB / 1.139 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.002139/1.101, allocations: 1.078 MB / 1.415 GB, free: 10.93 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.101, allocations: 8.031 kB / 1.415 GB, free: 10.92 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.102, allocations: 223.3 kB / 1.415 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/1.103, allocations: 0.5699 MB / 1.416 GB, free: 10.09 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.103, allocations: 29 kB / 1.416 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.179e-05/1.103, allocations: 47.98 kB / 1.416 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.104, allocations: 0.5396 MB / 1.416 GB, free: 9.453 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.104, allocations: 7.984 kB / 1.416 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/1.104, allocations: 19.98 kB / 1.416 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/1.104, allocations: 13 kB / 1.416 GB, free: 9.41 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.105, allocations: 0.4957 MB / 1.417 GB, free: 8.918 MB / 1.139 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.003265/1.109, allocations: 2.222 MB / 1.419 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/1.109, allocations: 355.9 kB / 1.419 GB, free: 6.145 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/1.11, allocations: 144.8 kB / 1.419 GB, free: 6 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.111, allocations: 0.8415 MB / 1.42 GB, free: 4.992 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/1.111, allocations: 212.8 kB / 1.42 GB, free: 4.766 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 3.015e-06/1.111, allocations: 0 / 1.42 GB, free: 4.766 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001166/1.113, allocations: 459.5 kB / 1.421 GB, free: 4.312 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.113, allocations: 89.11 kB / 1.421 GB, free: 4.207 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/1.114, allocations: 0.6447 MB / 1.422 GB, free: 3.551 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/1.114, allocations: 37.7 kB / 1.422 GB, free: 3.508 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/1.114, allocations: 316.3 kB / 1.422 GB, free: 3.195 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/1.114, allocations: 107.1 kB / 1.422 GB, free: 3.09 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.114, allocations: 90.08 kB / 1.422 GB, free: 2.996 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.114, allocations: 370.8 kB / 1.423 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/1.115, allocations: 142.5 kB / 1.423 GB, free: 2.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/1.115, allocations: 302.2 kB / 1.423 GB, free: 2.121 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/1.116, allocations: 407 kB / 1.423 GB, free: 1.672 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.116, allocations: 4 kB / 1.423 GB, free: 1.668 MB / 1.139 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001081/1.117, allocations: 0.489 MB / 1.424 GB, free: 1.172 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.117, allocations: 4 kB / 1.424 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.117, allocations: 11.98 kB / 1.424 GB, free: 1.156 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.117, allocations: 7.938 kB / 1.424 GB, free: 1.148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.118, allocations: 96.17 kB / 1.424 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.118, allocations: 7.938 kB / 1.424 GB, free: 1.047 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/1.118, allocations: 83.69 kB / 1.424 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/1.118, allocations: 20 kB / 1.424 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005919/1.119, allocations: 304.9 kB / 1.424 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004738/1.119, allocations: 298.2 kB / 1.425 GB, free: 296 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000681/1.12, allocations: 411.1 kB / 1.425 GB, free: 15.83 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/1.12, allocations: 8 kB / 1.425 GB, free: 15.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001019/1.121, allocations: 492.9 kB / 1.425 GB, free: 15.34 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.121, allocations: 8 kB / 1.425 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.121, allocations: 4 kB / 1.425 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/1.121, allocations: 8 kB / 1.425 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/1.122, allocations: 96.08 kB / 1.426 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.122, allocations: 11.98 kB / 1.426 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/1.122, allocations: 63.8 kB / 1.426 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.122, allocations: 20 kB / 1.426 GB, free: 15.13 MB / 1.154 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.0002025/1.122, allocations: 220.1 kB / 1.426 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/1.123, allocations: 67.56 kB / 1.426 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/1.123, allocations: 335.6 kB / 1.426 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.123, allocations: 8 kB / 1.426 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.123, allocations: 0 / 1.426 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.123, allocations: 7.938 kB / 1.426 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/1.125, allocations: 1.112 MB / 1.427 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.125, allocations: 4 kB / 1.427 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/1.125, allocations: 47.86 kB / 1.427 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.125, allocations: 4 kB / 1.427 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.125, allocations: 8 kB / 1.427 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.125, allocations: 7.984 kB / 1.427 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.125, allocations: 12.25 kB / 1.427 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/1.126, allocations: 0.6167 MB / 1.428 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/1.126, allocations: 164.6 kB / 1.428 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/1.126, allocations: 12 kB / 1.428 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/1.127, allocations: 23.98 kB / 1.428 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/1.127, allocations: 27.91 kB / 1.428 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/1.127, allocations: 12.06 kB / 1.428 GB, free: 12.29 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006409/1.127, allocations: 479 kB / 1.429 GB, free: 11.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.127, allocations: 0 / 1.429 GB, free: 11.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009259/1.128, allocations: 275.5 kB / 1.429 GB, free: 11.55 MB / 1.154 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.00133/1.13, allocations: 0.5057 MB / 1.43 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001284/1.131, allocations: 0.5244 MB / 1.43 GB, free: 10.68 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.131, allocations: 0 / 1.43 GB, free: 10.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/1.131, allocations: 136 kB / 1.43 GB, free: 10.55 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.133, allocations: 291.1 kB / 1.43 GB, free: 10.28 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/1.135, allocations: 1.159 MB / 1.432 GB, free: 9.059 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/1.135, allocations: 0.8939 MB / 1.432 GB, free: 8.137 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000562/1.136, allocations: 172.9 kB / 1.433 GB, free: 7.965 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/1.136, allocations: 51.42 kB / 1.433 GB, free: 7.914 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/1.136, allocations: 0 / 1.433 GB, free: 7.914 MB / 1.154 GB Notification: Performance of Templates: time 0.01946/1.155, allocations: 10.71 MB / 1.443 GB, free: 13.35 MB / 1.17 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/jenkins/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