Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008344/0.0008344, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009438/0.0009438, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6635, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.175/0.8385, allocations: 164 MB / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006295/0.8449, allocations: 3.521 MB / 1.118 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.8458, allocations: 23.81 kB / 1.118 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.8471, allocations: 318.3 kB / 1.118 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.8501, allocations: 0.9254 MB / 1.119 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.852, allocations: 0.5799 MB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.8541, allocations: 1.559 MB / 1.121 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.8548, allocations: 376.3 kB / 1.122 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.8565, allocations: 0.7819 MB / 1.122 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.8572, allocations: 438.2 kB / 1.123 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.8572, allocations: 20 kB / 1.123 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.8589, allocations: 0.8069 MB / 1.124 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.8591, allocations: 175.4 kB / 1.124 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.8593, allocations: 145.4 kB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.8602, allocations: 0.7912 MB / 1.125 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8602, allocations: 0 / 1.125 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8602, allocations: 3.938 kB / 1.125 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.8602, allocations: 0 / 1.125 GB, free: 0.6406 MB / 0.8731 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.001821/0.862, allocations: 0.9312 MB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8621, allocations: 8.031 kB / 1.126 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8633, allocations: 235 kB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.864, allocations: 0.5151 MB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.8641, allocations: 29 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.8642, allocations: 40 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.8652, allocations: 0.5426 MB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8652, allocations: 0 / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.8653, allocations: 19.94 kB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.8653, allocations: 13 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.8665, allocations: 0.5152 MB / 1.128 GB, free: 13.69 MB / 0.8887 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.003276/0.8697, allocations: 2.223 MB / 1.13 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.8705, allocations: 339.8 kB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.8707, allocations: 144.8 kB / 1.13 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.8721, allocations: 0.8649 MB / 1.131 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.8725, allocations: 198.9 kB / 1.131 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.8725, allocations: 0 / 1.131 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.0009571/0.8734, allocations: 435.4 kB / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.8735, allocations: 85.06 kB / 1.132 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.8743, allocations: 0.6447 MB / 1.132 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.8744, allocations: 29.7 kB / 1.132 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.8746, allocations: 319.7 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.8747, allocations: 94.73 kB / 1.133 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.8748, allocations: 4 kB / 1.133 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8749, allocations: 370.8 kB / 1.133 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.8753, allocations: 131.9 kB / 1.133 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.8757, allocations: 269 kB / 1.133 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.8761, allocations: 171.8 kB / 1.134 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8761, allocations: 3.938 kB / 1.134 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009585/0.8771, allocations: 477.5 kB / 1.134 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.8772, allocations: 211.7 kB / 1.134 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8772, allocations: 4 kB / 1.134 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8773, allocations: 4 kB / 1.134 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.8777, allocations: 87.83 kB / 1.134 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8777, allocations: 8 kB / 1.134 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.8782, allocations: 87.53 kB / 1.135 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.8783, allocations: 20 kB / 1.135 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.8783, allocations: 6.5 kB / 1.135 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000823/0.8791, allocations: 386.6 kB / 1.135 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8792, allocations: 12.09 kB / 1.135 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.8792, allocations: 8 kB / 1.135 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.8795, allocations: 83.89 kB / 1.135 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8796, allocations: 7.938 kB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.88, allocations: 67.64 kB / 1.135 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.88, allocations: 20 kB / 1.135 GB, free: 5.383 MB / 0.8887 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.0002778/0.8803, allocations: 288.9 kB / 1.135 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-05/0.8804, allocations: 59.25 kB / 1.135 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.881, allocations: 327.5 kB / 1.136 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.881, allocations: 7.984 kB / 1.136 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.881, allocations: 0 / 1.136 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8811, allocations: 0 / 1.136 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.8825, allocations: 1.079 MB / 1.137 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8825, allocations: 4 kB / 1.137 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.8827, allocations: 44.19 kB / 1.137 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8827, allocations: 4 kB / 1.137 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.8827, allocations: 8 kB / 1.137 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.8827, allocations: 7.938 kB / 1.137 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8828, allocations: 4 kB / 1.137 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.8833, allocations: 477 kB / 1.137 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.8835, allocations: 172.2 kB / 1.137 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.8836, allocations: 15.98 kB / 1.137 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.8839, allocations: 27.92 kB / 1.138 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.884, allocations: 27.97 kB / 1.138 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.884, allocations: 8 kB / 1.138 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006392/0.8847, allocations: 467 kB / 1.138 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8847, allocations: 0 / 1.138 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008454/0.8855, allocations: 275.5 kB / 1.138 GB, free: 1.945 MB / 0.8887 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.001168/0.8867, allocations: 0.5157 MB / 1.139 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.8878, allocations: 0.498 MB / 1.139 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8878, allocations: 4 kB / 1.139 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.888, allocations: 124.9 kB / 1.139 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.8893, allocations: 264.5 kB / 1.14 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.8911, allocations: 1.203 MB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.8915, allocations: 0.8941 MB / 1.142 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.8922, allocations: 168.8 kB / 1.142 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.8923, allocations: 43.44 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/0.8924, allocations: 4 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.01688/0.9092, allocations: 9.725 MB / 1.151 GB, free: 4.734 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches