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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001062/0.001062, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001306/0.001306, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437.7 MB / 0.7117 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.5999, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1646/0.7645, allocations: 164 MB / 1.183 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.7703, allocations: 3.521 MB / 1.186 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.771, allocations: 27.81 kB / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.7719, allocations: 310.3 kB / 1.186 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.7742, allocations: 0.9293 MB / 1.187 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.7758, allocations: 0.5768 MB / 1.188 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.7776, allocations: 1.566 MB / 1.189 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.7782, allocations: 376.3 kB / 1.19 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.7799, allocations: 0.778 MB / 1.19 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.7806, allocations: 438.2 kB / 1.191 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.7807, allocations: 20 kB / 1.191 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.7823, allocations: 0.8069 MB / 1.192 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.7826, allocations: 175.4 kB / 1.192 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7827, allocations: 145.4 kB / 1.192 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.7837, allocations: 0.795 MB / 1.193 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7837, allocations: 0 / 1.193 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7837, allocations: 0 / 1.193 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7837, allocations: 0 / 1.193 GB, free: 1.105 MB / 0.9356 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.001836/0.7856, allocations: 0.9367 MB / 1.194 GB, free: 124 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7856, allocations: 16.02 kB / 1.194 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.7869, allocations: 231 kB / 1.194 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.7876, allocations: 0.5074 MB / 1.194 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.7877, allocations: 29 kB / 1.194 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.7877, allocations: 47.97 kB / 1.194 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.7888, allocations: 0.5387 MB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7888, allocations: 0 / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.7888, allocations: 19.95 kB / 1.195 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.7889, allocations: 21 kB / 1.195 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.79, allocations: 0.5113 MB / 1.195 GB, free: 14.14 MB / 0.9512 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.003004/0.793, allocations: 2.227 MB / 1.198 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.7937, allocations: 347.8 kB / 1.198 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.794, allocations: 144.7 kB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.7952, allocations: 0.8611 MB / 1.199 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.7955, allocations: 190.5 kB / 1.199 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 2.605e-06/0.7955, allocations: 0 / 1.199 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.0009533/0.7965, allocations: 433.9 kB / 1.2 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.7965, allocations: 85.11 kB / 1.2 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.7974, allocations: 0.6408 MB / 1.2 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.7974, allocations: 33.7 kB / 1.2 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.7976, allocations: 327.7 kB / 1.201 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.7977, allocations: 86.75 kB / 1.201 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.7977, allocations: 8 kB / 1.201 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7979, allocations: 374.7 kB / 1.201 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.7982, allocations: 123.9 kB / 1.201 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.7986, allocations: 292.9 kB / 1.201 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.799, allocations: 162.6 kB / 1.202 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.799, allocations: 4 kB / 1.202 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009012/0.7999, allocations: 468.6 kB / 1.202 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.8001, allocations: 203.8 kB / 1.202 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8001, allocations: 7.938 kB / 1.202 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8001, allocations: 8 kB / 1.202 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.8005, allocations: 91.81 kB / 1.202 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.8005, allocations: 4 kB / 1.202 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.8011, allocations: 83.55 kB / 1.202 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.8012, allocations: 20 kB / 1.202 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.8012, allocations: 10.14 kB / 1.202 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008051/0.802, allocations: 393.9 kB / 1.203 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.802, allocations: 4 kB / 1.203 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.802, allocations: 8 kB / 1.203 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.8024, allocations: 83.89 kB / 1.203 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.8024, allocations: 15.92 kB / 1.203 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.8028, allocations: 60.19 kB / 1.203 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.8029, allocations: 23.98 kB / 1.203 GB, free: 5.836 MB / 0.9512 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 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002773/0.8032, allocations: 286.8 kB / 1.203 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.8033, allocations: 67.25 kB / 1.203 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.8039, allocations: 327.6 kB / 1.204 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8039, allocations: 4 kB / 1.204 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8039, allocations: 0 / 1.204 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8039, allocations: 0 / 1.204 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.8054, allocations: 1.091 MB / 1.205 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8054, allocations: 4 kB / 1.205 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.8056, allocations: 35.92 kB / 1.205 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.8056, allocations: 4 kB / 1.205 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8056, allocations: 12 kB / 1.205 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.8056, allocations: 7.938 kB / 1.205 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8056, allocations: 0 / 1.205 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.8062, allocations: 479.1 kB / 1.205 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.8064, allocations: 172.2 kB / 1.205 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.8065, allocations: 12 kB / 1.205 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.8068, allocations: 23.98 kB / 1.205 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.8069, allocations: 27.92 kB / 1.206 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.8069, allocations: 8 kB / 1.206 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006168/0.8075, allocations: 482.9 kB / 1.206 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8076, allocations: 0 / 1.206 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008849/0.8085, allocations: 275.5 kB / 1.206 GB, free: 2.391 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/0.8097, allocations: 0.5011 MB / 1.207 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.8108, allocations: 0.4991 MB / 1.207 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8108, allocations: 0 / 1.207 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.8111, allocations: 125.1 kB / 1.207 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.8124, allocations: 268.7 kB / 1.208 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.8143, allocations: 1.203 MB / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.8147, allocations: 0.8941 MB / 1.21 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007006/0.8154, allocations: 168.8 kB / 1.21 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.8156, allocations: 47.38 kB / 1.21 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.8156, allocations: 0 / 1.21 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.01723/0.8328, allocations: 9.724 MB / 1.219 GB, free: 5.191 MB / 0.9669 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