Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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,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") 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_latest_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.001071/0.001071, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008473/0.008473, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.604/2.604, allocations: 443.3 MB / 0.7175 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 14.03 kB / 0.8796 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1749/0.4809, allocations: 175.8 MB / 1.203 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.4873, allocations: 3.729 MB / 1.206 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/0.4881, allocations: 23.81 kB / 1.206 GB, free: 160 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4893, allocations: 370.2 kB / 1.207 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.4922, allocations: 1.179 MB / 1.208 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.4939, allocations: 0.6604 MB / 1.209 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.4959, allocations: 1.832 MB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006126/0.4965, allocations: 409.5 kB / 1.211 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.4989, allocations: 0.8881 MB / 1.212 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.4995, allocations: 454.1 kB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.4996, allocations: 24 kB / 1.212 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.5018, allocations: 1.321 MB / 1.213 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.502, allocations: 167.4 kB / 1.214 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.5023, allocations: 324 kB / 1.214 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.504, allocations: 1.211 MB / 1.215 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.504, allocations: 4 kB / 1.215 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.023e-06/0.504, allocations: 0 / 1.215 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5041, allocations: 0 / 1.215 GB, free: 7.324 MB / 0.9669 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.001968/0.506, allocations: 0.9272 MB / 1.216 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5061, allocations: 12.03 kB / 1.216 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.5074, allocations: 231 kB / 1.216 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.5082, allocations: 0.5342 MB / 1.217 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.5083, allocations: 33 kB / 1.217 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.5084, allocations: 36 kB / 1.217 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5094, allocations: 0.5465 MB / 1.217 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5094, allocations: 0 / 1.217 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.5095, allocations: 16 kB / 1.217 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.5095, allocations: 17 kB / 1.217 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.5107, allocations: 0.5191 MB / 1.218 GB, free: 4.34 MB / 0.9669 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.003121/0.5139, allocations: 2.227 MB / 1.22 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.5147, allocations: 353.2 kB / 1.22 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.5149, allocations: 140.8 kB / 1.22 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.5162, allocations: 0.865 MB / 1.221 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.5166, allocations: 197.8 kB / 1.221 GB, free: 176 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.5166, allocations: 0 / 1.221 GB, free: 176 kB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.001028/0.5176, allocations: 440.7 kB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.5177, allocations: 77.11 kB / 1.222 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.5186, allocations: 0.6602 MB / 1.223 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.5187, allocations: 29.7 kB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.5189, allocations: 319.6 kB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.519, allocations: 94.66 kB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.5191, allocations: 33.7 kB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5192, allocations: 378.7 kB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.5196, allocations: 131.9 kB / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.52, allocations: 282.7 kB / 1.224 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.5207, allocations: 381.2 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5207, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001021/0.5217, allocations: 482.9 kB / 1.225 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.5219, allocations: 211.6 kB / 1.225 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5219, allocations: 4 kB / 1.225 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5219, allocations: 4 kB / 1.225 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.5223, allocations: 79.89 kB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.5223, allocations: 19.86 kB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.523, allocations: 91.48 kB / 1.225 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.5231, allocations: 20 kB / 1.225 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.5231, allocations: 4 kB / 1.225 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008738/0.524, allocations: 384.1 kB / 1.225 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.524, allocations: 4.094 kB / 1.225 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.524, allocations: 16.02 kB / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.5244, allocations: 87.83 kB / 1.226 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5244, allocations: 11.97 kB / 1.226 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.525, allocations: 63.66 kB / 1.226 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.525, allocations: 20 kB / 1.226 GB, free: 11.68 MB / 0.9825 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.0002893/0.5253, allocations: 296.8 kB / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.5254, allocations: 59.25 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.526, allocations: 320.5 kB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.526, allocations: 4 kB / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.526, allocations: 0 / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.526, allocations: 4 kB / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.5275, allocations: 1.087 MB / 1.227 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5275, allocations: 0 / 1.227 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.5277, allocations: 43.92 kB / 1.227 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.5278, allocations: 12.31 kB / 1.227 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5278, allocations: 8 kB / 1.227 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5278, allocations: 4 kB / 1.227 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5278, allocations: 4 kB / 1.227 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.5283, allocations: 474.8 kB / 1.228 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5286, allocations: 164.3 kB / 1.228 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.5286, allocations: 11.98 kB / 1.228 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.529, allocations: 35.92 kB / 1.228 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.5291, allocations: 27.84 kB / 1.228 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.5291, allocations: 15.94 kB / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006652/0.5298, allocations: 475 kB / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5298, allocations: 0 / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001042/0.5309, allocations: 271.6 kB / 1.229 GB, free: 8.238 MB / 0.9825 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.001256/0.5321, allocations: 0.5046 MB / 1.229 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5333, allocations: 0.503 MB / 1.23 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5333, allocations: 0 / 1.23 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.5335, allocations: 123.8 kB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5352, allocations: 256.3 kB / 1.23 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5373, allocations: 1.231 MB / 1.231 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.5378, allocations: 0.8939 MB / 1.232 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007085/0.5385, allocations: 168.8 kB / 1.232 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.5386, allocations: 47.42 kB / 1.232 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of SimCode: time 1.964e-06/0.5386, allocations: 0 / 1.232 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.01848/0.5571, allocations: 9.976 MB / 1.242 GB, free: 10.77 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches