Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006166/0.006166, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001302/0.001302, allocations: 192 kB / 16.67 MB, free: 5.969 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.389/1.389, 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 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 68.08 kB / 1.018 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8188, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.214/1.033, allocations: 180.3 MB / 1.343 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00584/1.039, allocations: 3.736 MB / 1.346 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/1.039, allocations: 31.81 kB / 1.346 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009931/1.04, allocations: 433.5 kB / 1.347 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/1.043, allocations: 1.25 MB / 1.348 GB, free: 9.328 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/1.045, allocations: 0.7453 MB / 1.349 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00165/1.046, allocations: 1.344 MB / 1.35 GB, free: 7.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/1.047, allocations: 489.3 kB / 1.351 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/1.049, allocations: 0.9778 MB / 1.351 GB, free: 5.773 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/1.05, allocations: 454.2 kB / 1.352 GB, free: 5.328 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/1.05, allocations: 43.94 kB / 1.352 GB, free: 5.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/1.052, allocations: 1.197 MB / 1.353 GB, free: 4.086 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/1.052, allocations: 191.4 kB / 1.353 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/1.053, allocations: 330.2 kB / 1.354 GB, free: 3.574 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/1.054, allocations: 1.199 MB / 1.355 GB, free: 2.371 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.054, allocations: 0 / 1.355 GB, free: 2.371 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/1.054, allocations: 0 / 1.355 GB, free: 2.371 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.055, allocations: 0 / 1.355 GB, free: 2.371 MB / 1.076 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.002152/1.057, allocations: 1.074 MB / 1.356 GB, free: 1.242 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.057, allocations: 8.031 kB / 1.356 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/1.058, allocations: 227.3 kB / 1.356 GB, free: 1.012 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.059, allocations: 0.566 MB / 1.357 GB, free: 416 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/1.059, allocations: 29 kB / 1.357 GB, free: 388 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/1.059, allocations: 40 kB / 1.357 GB, free: 348 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/1.06, allocations: 0.5387 MB / 1.357 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.06, allocations: 0 / 1.357 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/1.06, allocations: 12 kB / 1.357 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/1.06, allocations: 25 kB / 1.357 GB, free: 15.75 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.062, allocations: 0.5035 MB / 1.358 GB, free: 15.25 MB / 1.092 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.003358/1.065, allocations: 2.208 MB / 1.36 GB, free: 12.85 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/1.066, allocations: 364.6 kB / 1.36 GB, free: 12.46 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.066, allocations: 136.8 kB / 1.36 GB, free: 12.33 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.067, allocations: 0.8454 MB / 1.361 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/1.068, allocations: 185 kB / 1.361 GB, free: 11.12 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/1.068, allocations: 0 / 1.361 GB, free: 11.12 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.001061/1.069, allocations: 438.6 kB / 1.362 GB, free: 10.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.069, allocations: 81.11 kB / 1.362 GB, free: 10.59 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/1.07, allocations: 0.6564 MB / 1.362 GB, free: 9.922 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/1.07, allocations: 33.64 kB / 1.363 GB, free: 9.883 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/1.07, allocations: 324.2 kB / 1.363 GB, free: 9.562 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/1.07, allocations: 95.2 kB / 1.363 GB, free: 9.469 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.07, allocations: 77.64 kB / 1.363 GB, free: 9.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.07, allocations: 382.7 kB / 1.363 GB, free: 9.004 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/1.071, allocations: 132.7 kB / 1.363 GB, free: 8.871 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.071, allocations: 285 kB / 1.364 GB, free: 8.531 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/1.072, allocations: 379.6 kB / 1.364 GB, free: 8.105 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.072, allocations: 7.938 kB / 1.364 GB, free: 8.098 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001066/1.073, allocations: 482.3 kB / 1.365 GB, free: 7.621 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.073, allocations: 8 kB / 1.365 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.073, allocations: 4.047 kB / 1.365 GB, free: 7.609 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.073, allocations: 7.984 kB / 1.365 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/1.074, allocations: 91.98 kB / 1.365 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.074, allocations: 7.984 kB / 1.365 GB, free: 7.504 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/1.074, allocations: 75.7 kB / 1.365 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.074, allocations: 27.98 kB / 1.365 GB, free: 7.402 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005082/1.075, allocations: 288 kB / 1.365 GB, free: 7.117 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004649/1.075, allocations: 285.7 kB / 1.365 GB, free: 6.777 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006495/1.076, allocations: 390.8 kB / 1.366 GB, free: 6.344 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/1.076, allocations: 0 / 1.366 GB, free: 6.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009984/1.077, allocations: 481 kB / 1.366 GB, free: 5.867 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.077, allocations: 6.5 kB / 1.366 GB, free: 5.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.077, allocations: 4 kB / 1.366 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.077, allocations: 11.98 kB / 1.366 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/1.077, allocations: 83.83 kB / 1.366 GB, free: 5.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.077, allocations: 20.03 kB / 1.366 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/1.078, allocations: 59.78 kB / 1.366 GB, free: 5.688 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/1.078, allocations: 20 kB / 1.366 GB, free: 5.668 MB / 1.092 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.0001431/1.078, allocations: 201.8 kB / 1.367 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.078, allocations: 67.58 kB / 1.367 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/1.079, allocations: 325.7 kB / 1.367 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.079, allocations: 4 kB / 1.367 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.079, allocations: 0 / 1.367 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.079, allocations: 3.938 kB / 1.367 GB, free: 5.062 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.08, allocations: 1.086 MB / 1.368 GB, free: 3.891 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.08, allocations: 4 kB / 1.368 GB, free: 3.887 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.081, allocations: 39.92 kB / 1.368 GB, free: 3.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.081, allocations: 4 kB / 1.368 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.081, allocations: 12 kB / 1.368 GB, free: 3.832 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.081, allocations: 7.922 kB / 1.368 GB, free: 3.824 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.081, allocations: 4 kB / 1.368 GB, free: 3.82 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/1.081, allocations: 482.6 kB / 1.369 GB, free: 3.305 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/1.081, allocations: 164.6 kB / 1.369 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/1.081, allocations: 8 kB / 1.369 GB, free: 3.117 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/1.082, allocations: 15.98 kB / 1.369 GB, free: 3.102 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/1.082, allocations: 31.91 kB / 1.369 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.082, allocations: 16.06 kB / 1.369 GB, free: 3.055 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006682/1.083, allocations: 471 kB / 1.369 GB, free: 2.602 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/1.083, allocations: 7.938 kB / 1.369 GB, free: 2.594 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008208/1.083, allocations: 271.5 kB / 1.369 GB, free: 2.328 MB / 1.092 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.001224/1.085, allocations: 0.5036 MB / 1.37 GB, free: 1.98 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.086, allocations: 0.5005 MB / 1.37 GB, free: 1.48 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.086, allocations: 4 kB / 1.37 GB, free: 1.477 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/1.086, allocations: 128.9 kB / 1.371 GB, free: 1.352 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.087, allocations: 276.9 kB / 1.371 GB, free: 1.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/1.089, allocations: 1.031 MB / 1.372 GB, free: 0 / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/1.09, allocations: 0.8939 MB / 1.373 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005517/1.09, allocations: 172.8 kB / 1.373 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.09, allocations: 47.38 kB / 1.373 GB, free: 14.86 MB / 1.107 GB Notification: Performance of SimCode: time 5.01e-07/1.09, allocations: 0 / 1.373 GB, free: 14.86 MB / 1.107 GB Notification: Performance of Templates: time 0.01799/1.108, allocations: 10.46 MB / 1.383 GB, free: 4.535 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches