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.0009298/0.0009298, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.007374/0.007374, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003714, allocations: 11.81 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1952/0.5398, allocations: 175.8 MB / 1.23 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00629/0.5462, allocations: 3.731 MB / 1.234 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.5468, allocations: 23.81 kB / 1.234 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.5479, allocations: 374.2 kB / 1.234 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.5508, allocations: 1.174 MB / 1.235 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5526, allocations: 0.6687 MB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00221/0.5549, allocations: 1.835 MB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.5555, allocations: 405.6 kB / 1.238 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.5582, allocations: 0.8927 MB / 1.239 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007414/0.559, allocations: 458.1 kB / 1.24 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.5591, allocations: 20 kB / 1.24 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5615, allocations: 1.321 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.5618, allocations: 179.3 kB / 1.241 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.5622, allocations: 328 kB / 1.241 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.5641, allocations: 1.211 MB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5641, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5641, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5641, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 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.00228/0.5664, allocations: 0.9312 MB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.5665, allocations: 16.02 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5678, allocations: 223 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/0.5688, allocations: 0.5536 MB / 1.244 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.5689, allocations: 29 kB / 1.244 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.569, allocations: 40 kB / 1.244 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5702, allocations: 0.5435 MB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5702, allocations: 3.938 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.5703, allocations: 19.98 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.5704, allocations: 20.98 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.5716, allocations: 0.5074 MB / 1.245 GB, free: 5.434 MB / 0.9981 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.003417/0.575, allocations: 2.23 MB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.5758, allocations: 356 kB / 1.248 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.5761, allocations: 152.7 kB / 1.248 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.5776, allocations: 0.8611 MB / 1.249 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.578, allocations: 202.4 kB / 1.249 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.265e-06/0.578, allocations: 3.938 kB / 1.249 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0011/0.5791, allocations: 455.4 kB / 1.25 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.5792, allocations: 85.11 kB / 1.25 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.5802, allocations: 0.6524 MB / 1.25 GB, free: 48 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5802, allocations: 41.69 kB / 1.25 GB, free: 0 / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6522/1.232, allocations: 303.5 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.233, allocations: 105 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/1.233, allocations: 36.31 kB / 1.251 GB, free: 194 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.233, allocations: 372.2 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/1.233, allocations: 140 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/1.234, allocations: 301.9 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/1.235, allocations: 407.2 kB / 1.252 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.235, allocations: 0.875 kB / 1.252 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00121/1.236, allocations: 0.4893 MB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.236, allocations: 202.9 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.236, allocations: 4.031 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.236, allocations: 5.625 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/1.236, allocations: 95.12 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.237, allocations: 9.547 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/1.237, allocations: 89.7 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/1.237, allocations: 21.05 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/1.237, allocations: 7.812 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009401/1.238, allocations: 420 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.238, allocations: 4.031 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/1.238, allocations: 7.516 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/1.239, allocations: 93.86 kB / 1.253 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.239, allocations: 14.42 kB / 1.253 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/1.239, allocations: 68.05 kB / 1.253 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/1.239, allocations: 21.81 kB / 1.253 GB, free: 193 MB / 0.9981 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.0003333/1.24, allocations: 288.5 kB / 1.254 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/1.24, allocations: 60.06 kB / 1.254 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/1.24, allocations: 337.2 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.24, allocations: 6.969 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.24, allocations: 1.031 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.24, allocations: 3.797 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.242, allocations: 1.116 MB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.242, allocations: 6.938 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/1.242, allocations: 43.23 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.242, allocations: 4.141 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/1.242, allocations: 12.53 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.242, allocations: 2.844 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.242, allocations: 2.688 kB / 1.255 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/1.243, allocations: 0.6279 MB / 1.256 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.243, allocations: 166.5 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/1.243, allocations: 14.78 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/1.244, allocations: 25.22 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/1.244, allocations: 32.8 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/1.244, allocations: 14.09 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005947/1.244, allocations: 470.2 kB / 1.257 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.244, allocations: 2.906 kB / 1.257 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009021/1.245, allocations: 268.2 kB / 1.257 GB, free: 191.7 MB / 0.9981 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.001199/1.246, allocations: 0.5168 MB / 1.257 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.247, allocations: 0.5321 MB / 1.258 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.247, allocations: 0 / 1.258 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/1.248, allocations: 135.8 kB / 1.258 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.249, allocations: 281.4 kB / 1.258 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/1.251, allocations: 1.377 MB / 1.26 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.251, allocations: 0.8929 MB / 1.26 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006556/1.252, allocations: 172 kB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.252, allocations: 47.3 kB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.252, allocations: 0 / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of Templates: time 0.02679/1.279, allocations: 10.22 MB / 1.271 GB, free: 189.2 MB / 0.9981 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