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.001627/0.001627, allocations: 106 kB / 15.99 MB, free: 5.891 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.001801/0.001801, allocations: 194.7 kB / 16.91 MB, free: 5.746 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.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.699/2.699, allocations: 437.1 MB / 0.7107 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 0.8694 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7244, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2203/0.9447, allocations: 178 MB / 1.191 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007376/0.9521, allocations: 3.733 MB / 1.195 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.953, allocations: 19.88 kB / 1.195 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.9543, allocations: 390.2 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.9579, allocations: 1.163 MB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.96, allocations: 0.6789 MB / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.9622, allocations: 1.356 MB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.9629, allocations: 469.2 kB / 1.199 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.966, allocations: 0.9796 MB / 1.2 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.9668, allocations: 486.1 kB / 1.2 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.896e-05/0.9669, allocations: 44 kB / 1.2 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.9692, allocations: 1.228 MB / 1.202 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.9695, allocations: 199.4 kB / 1.202 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.9699, allocations: 326.2 kB / 1.202 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.9714, allocations: 0.8576 MB / 1.203 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.9714, allocations: 0 / 1.203 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9714, allocations: 0 / 1.203 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.9714, allocations: 0 / 1.203 GB, free: 4.125 MB / 0.9512 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.002178/0.9736, allocations: 1.044 MB / 1.204 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9737, allocations: 8.031 kB / 1.204 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.975, allocations: 226.9 kB / 1.204 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.9758, allocations: 0.5303 MB / 1.205 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.9759, allocations: 29 kB / 1.205 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.976, allocations: 43.98 kB / 1.205 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.9771, allocations: 0.5426 MB / 1.205 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.9771, allocations: 0 / 1.205 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.9772, allocations: 12 kB / 1.205 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.9772, allocations: 25 kB / 1.205 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.9784, allocations: 0.5035 MB / 1.206 GB, free: 1.055 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.003703/0.9821, allocations: 2.223 MB / 1.208 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007867/0.9829, allocations: 351.7 kB / 1.208 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.9832, allocations: 136.8 kB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.9846, allocations: 0.8377 MB / 1.209 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.985, allocations: 198.7 kB / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.985, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.001079/0.9861, allocations: 440.5 kB / 1.21 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.9862, allocations: 81.11 kB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000925/0.9871, allocations: 0.6525 MB / 1.211 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.9872, allocations: 33.7 kB / 1.211 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.9874, allocations: 323.7 kB / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.9875, allocations: 86.75 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.9877, allocations: 81.59 kB / 1.211 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.9879, allocations: 374.7 kB / 1.211 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.9883, allocations: 136.8 kB / 1.212 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.9888, allocations: 285 kB / 1.212 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.9894, allocations: 375.1 kB / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9895, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.9905, allocations: 486.7 kB / 1.213 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9905, allocations: 4 kB / 1.213 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9905, allocations: 4 kB / 1.213 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.9906, allocations: 8 kB / 1.213 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.991, allocations: 83.98 kB / 1.213 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.991, allocations: 12 kB / 1.213 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.9917, allocations: 83.48 kB / 1.213 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.9917, allocations: 20.05 kB / 1.213 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005535/0.9923, allocations: 296 kB / 1.213 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004703/0.9928, allocations: 281.7 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006453/0.9934, allocations: 385.2 kB / 1.214 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.9934, allocations: 0 / 1.214 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001004/0.9944, allocations: 472.6 kB / 1.214 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.9945, allocations: 11.94 kB / 1.214 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9945, allocations: 4 kB / 1.214 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.9945, allocations: 12.31 kB / 1.214 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.9949, allocations: 88.03 kB / 1.214 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.9949, allocations: 11.88 kB / 1.214 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.9955, allocations: 71.73 kB / 1.214 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.9956, allocations: 20 kB / 1.214 GB, free: 7.496 MB / 0.9669 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.0001958/0.9958, allocations: 204.2 kB / 1.215 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.9959, allocations: 59.25 kB / 1.215 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006552/0.9965, allocations: 330.5 kB / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9965, allocations: 0 / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.9966, allocations: 7.984 kB / 1.215 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9966, allocations: 3.938 kB / 1.215 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.9982, allocations: 1.084 MB / 1.216 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9982, allocations: 4 kB / 1.216 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.9984, allocations: 43.91 kB / 1.216 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.9984, allocations: 4.312 kB / 1.216 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.9984, allocations: 12 kB / 1.216 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.9985, allocations: 7.938 kB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9985, allocations: 4 kB / 1.216 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.9991, allocations: 475 kB / 1.217 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.9993, allocations: 156.4 kB / 1.217 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.9994, allocations: 11.98 kB / 1.217 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.9998, allocations: 27.89 kB / 1.217 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.9999, allocations: 27.91 kB / 1.217 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.9999, allocations: 12 kB / 1.217 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007177/1.001, allocations: 479 kB / 1.217 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/1.001, allocations: 4 kB / 1.217 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009849/1.002, allocations: 267.6 kB / 1.218 GB, free: 4.145 MB / 0.9669 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.001794/1.003, allocations: 0.5031 MB / 1.218 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.005, allocations: 0.5122 MB / 1.218 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.005, allocations: 0 / 1.218 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/1.005, allocations: 123.8 kB / 1.219 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.006, allocations: 291.5 kB / 1.219 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.008, allocations: 1.259 MB / 1.22 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/1.009, allocations: 0.8937 MB / 1.221 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.009, allocations: 51.42 kB / 1.221 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/1.009, allocations: 0 / 1.221 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of Templates: time 0.01646/1.026, allocations: 9.766 MB / 1.231 GB, free: 6.91 MB / 0.9825 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=400 -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/jenkins1/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