Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001833/0.001833, allocations: 106.2 kB / 16.41 MB, free: 6.516 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.001764/0.001764, allocations: 185.8 kB / 17.34 MB, free: 5.738 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8701, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2245/1.095, allocations: 180.3 MB / 1.265 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007541/1.102, allocations: 3.741 MB / 1.268 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/1.103, allocations: 27.81 kB / 1.268 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.105, allocations: 441.5 kB / 1.269 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/1.109, allocations: 1.303 MB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/1.111, allocations: 0.7504 MB / 1.271 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002524/1.114, allocations: 1.36 MB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/1.115, allocations: 469.3 kB / 1.273 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/1.118, allocations: 1.017 MB / 1.274 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009938/1.119, allocations: 458.2 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/1.119, allocations: 44 kB / 1.274 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/1.122, allocations: 1.193 MB / 1.275 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/1.122, allocations: 199.3 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006299/1.123, allocations: 330.2 kB / 1.276 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/1.125, allocations: 1.198 MB / 1.277 GB, free: 12.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.125, allocations: 0 / 1.277 GB, free: 12.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/1.125, allocations: 0 / 1.277 GB, free: 12.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.421e-05/1.125, allocations: 0 / 1.277 GB, free: 12.83 MB / 1.014 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.002722/1.128, allocations: 1.044 MB / 1.278 GB, free: 11.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.128, allocations: 8.031 kB / 1.278 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/1.129, allocations: 215 kB / 1.278 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.131, allocations: 0.5693 MB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/1.131, allocations: 29 kB / 1.279 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/1.131, allocations: 40 kB / 1.279 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.132, allocations: 0.5387 MB / 1.279 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.132, allocations: 3.938 kB / 1.279 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/1.132, allocations: 16 kB / 1.279 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/1.132, allocations: 20.98 kB / 1.279 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.133, allocations: 0.5035 MB / 1.28 GB, free: 9.738 MB / 1.014 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.003413/1.137, allocations: 2.207 MB / 1.282 GB, free: 7.348 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/1.137, allocations: 355.8 kB / 1.282 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.138, allocations: 140.7 kB / 1.282 GB, free: 6.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.139, allocations: 0.8377 MB / 1.283 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/1.139, allocations: 195.3 kB / 1.283 GB, free: 5.621 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/1.139, allocations: 0 / 1.283 GB, free: 5.621 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.001059/1.14, allocations: 439.1 kB / 1.284 GB, free: 5.188 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.14, allocations: 85.09 kB / 1.284 GB, free: 5.086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/1.141, allocations: 0.6486 MB / 1.285 GB, free: 4.426 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/1.141, allocations: 33.7 kB / 1.285 GB, free: 4.387 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/1.142, allocations: 319.7 kB / 1.285 GB, free: 4.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.142, allocations: 86.75 kB / 1.285 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.142, allocations: 81.59 kB / 1.285 GB, free: 3.898 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.142, allocations: 374.7 kB / 1.285 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.142, allocations: 136.8 kB / 1.286 GB, free: 3.387 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/1.143, allocations: 280.9 kB / 1.286 GB, free: 3.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/1.143, allocations: 393.5 kB / 1.286 GB, free: 2.613 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.144, allocations: 4 kB / 1.286 GB, free: 2.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001055/1.145, allocations: 468.7 kB / 1.287 GB, free: 2.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.145, allocations: 12.06 kB / 1.287 GB, free: 2.133 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.145, allocations: 4 kB / 1.287 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.145, allocations: 4 kB / 1.287 GB, free: 2.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.145, allocations: 87.88 kB / 1.287 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.145, allocations: 11.88 kB / 1.287 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/1.146, allocations: 79.55 kB / 1.287 GB, free: 1.949 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/1.146, allocations: 16 kB / 1.287 GB, free: 1.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005186/1.146, allocations: 292 kB / 1.287 GB, free: 1.645 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004308/1.147, allocations: 281.7 kB / 1.287 GB, free: 1.309 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006045/1.147, allocations: 384.8 kB / 1.288 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/1.147, allocations: 3.938 kB / 1.288 GB, free: 0.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009813/1.148, allocations: 481.7 kB / 1.288 GB, free: 408 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.148, allocations: 4.469 kB / 1.288 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.148, allocations: 12 kB / 1.288 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/1.148, allocations: 11.94 kB / 1.288 GB, free: 380 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.149, allocations: 83.89 kB / 1.288 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.149, allocations: 11.94 kB / 1.288 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/1.149, allocations: 63.64 kB / 1.288 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/1.149, allocations: 20 kB / 1.288 GB, free: 200 kB / 1.014 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.0001741/1.149, allocations: 203.3 kB / 1.289 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/1.15, allocations: 59.28 kB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/1.15, allocations: 329.8 kB / 1.289 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.15, allocations: 7.938 kB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.15, allocations: 0 / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.15, allocations: 3.984 kB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/1.152, allocations: 1.079 MB / 1.29 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.152, allocations: 4 kB / 1.29 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/1.152, allocations: 39.86 kB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.152, allocations: 4.312 kB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.152, allocations: 15.98 kB / 1.29 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.152, allocations: 7.938 kB / 1.29 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.152, allocations: 7.938 kB / 1.29 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/1.153, allocations: 478.2 kB / 1.291 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/1.153, allocations: 156.3 kB / 1.291 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/1.153, allocations: 8 kB / 1.291 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/1.153, allocations: 23.98 kB / 1.291 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.153, allocations: 23.91 kB / 1.291 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/1.153, allocations: 12 kB / 1.291 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006681/1.154, allocations: 475 kB / 1.291 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.154, allocations: 0 / 1.291 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009084/1.155, allocations: 271.6 kB / 1.292 GB, free: 12.87 MB / 1.029 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.00129/1.156, allocations: 0.5131 MB / 1.292 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.158, allocations: 0.5009 MB / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.158, allocations: 4.125 kB / 1.293 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.158, allocations: 127.8 kB / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.159, allocations: 276.3 kB / 1.293 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.161, allocations: 1.053 MB / 1.294 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/1.162, allocations: 0.8976 MB / 1.295 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.162, allocations: 47.44 kB / 1.295 GB, free: 9.531 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/1.162, allocations: 0 / 1.295 GB, free: 9.531 MB / 1.029 GB Notification: Performance of Templates: time 0.01707/1.179, allocations: 9.835 MB / 1.304 GB, free: 15.77 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches