Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.0008728/0.000873, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.355 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.41/2.41, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7495, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1973/0.9468, allocations: 175.8 MB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0072/0.9541, allocations: 3.736 MB / 1.131 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.9551, allocations: 27.81 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.9565, allocations: 374.2 kB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.96, allocations: 1.167 MB / 1.133 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.9622, allocations: 0.6618 MB / 1.133 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.9647, allocations: 1.836 MB / 1.135 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008996/0.9656, allocations: 401.6 kB / 1.135 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.9686, allocations: 0.8971 MB / 1.136 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.9695, allocations: 458.1 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.9696, allocations: 24 kB / 1.137 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.9722, allocations: 1.321 MB / 1.138 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.9725, allocations: 179.4 kB / 1.138 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005283/0.973, allocations: 324 kB / 1.138 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.9744, allocations: 0.8496 MB / 1.139 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9744, allocations: 0 / 1.139 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9744, allocations: 0 / 1.139 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.9745, allocations: 0 / 1.139 GB, free: 2.777 MB / 0.8887 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.002275/0.9768, allocations: 0.9351 MB / 1.14 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.9768, allocations: 8.031 kB / 1.14 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.9782, allocations: 242.9 kB / 1.14 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.9792, allocations: 0.5265 MB / 1.141 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.9792, allocations: 32.94 kB / 1.141 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.9793, allocations: 40 kB / 1.141 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.9805, allocations: 0.5474 MB / 1.142 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.9805, allocations: 0 / 1.142 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.9806, allocations: 19.98 kB / 1.142 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.9806, allocations: 17 kB / 1.142 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.9818, allocations: 0.519 MB / 1.142 GB, free: 15.78 MB / 0.9044 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.003395/0.9853, allocations: 2.222 MB / 1.144 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.986, allocations: 355.9 kB / 1.145 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.9862, allocations: 144.8 kB / 1.145 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.9876, allocations: 0.8689 MB / 1.146 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.988, allocations: 205.9 kB / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.988, allocations: 0 / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001097/0.9891, allocations: 457 kB / 1.146 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.9892, allocations: 85.09 kB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.9901, allocations: 0.6564 MB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.9902, allocations: 29.7 kB / 1.147 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.9905, allocations: 311.9 kB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.9906, allocations: 98.58 kB / 1.147 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.9906, allocations: 41.64 kB / 1.147 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9908, allocations: 382.7 kB / 1.148 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.9912, allocations: 136.8 kB / 1.148 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.9917, allocations: 302.2 kB / 1.148 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.9924, allocations: 397.1 kB / 1.149 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.9924, allocations: 7.938 kB / 1.149 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001086/0.9935, allocations: 0.4908 MB / 1.149 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.9936, allocations: 199.8 kB / 1.149 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9936, allocations: 4 kB / 1.149 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9937, allocations: 11.98 kB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.9941, allocations: 91.83 kB / 1.149 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.9941, allocations: 15.94 kB / 1.149 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.9948, allocations: 83.55 kB / 1.149 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.9949, allocations: 19.98 kB / 1.149 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.9949, allocations: 4 kB / 1.149 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009325/0.9958, allocations: 416.6 kB / 1.15 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9958, allocations: 8.094 kB / 1.15 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.9959, allocations: 8 kB / 1.15 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.9963, allocations: 87.89 kB / 1.15 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.9963, allocations: 15.92 kB / 1.15 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.9969, allocations: 71.5 kB / 1.15 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.9969, allocations: 23.98 kB / 1.15 GB, free: 6.984 MB / 0.9044 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.0003849/0.9973, allocations: 283.3 kB / 1.15 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.9974, allocations: 59.25 kB / 1.15 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.9981, allocations: 349.2 kB / 1.151 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.9982, allocations: 4 kB / 1.151 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.9982, allocations: 3.984 kB / 1.151 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.9982, allocations: 4 kB / 1.151 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.9999, allocations: 1.103 MB / 1.152 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9999, allocations: 8.25 kB / 1.152 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/1, allocations: 47.92 kB / 1.152 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1, allocations: 4 kB / 1.152 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/1, allocations: 8 kB / 1.152 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1, allocations: 11.88 kB / 1.152 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1, allocations: 7.984 kB / 1.152 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/1.001, allocations: 0.6279 MB / 1.153 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/1.001, allocations: 168.2 kB / 1.153 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/1.001, allocations: 12.06 kB / 1.153 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/1.002, allocations: 27.97 kB / 1.153 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/1.002, allocations: 27.86 kB / 1.153 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/1.002, allocations: 15.98 kB / 1.153 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006946/1.003, allocations: 479 kB / 1.153 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.003, allocations: 0 / 1.153 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009827/1.004, allocations: 271.6 kB / 1.153 GB, free: 3.324 MB / 0.9044 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.001274/1.005, allocations: 0.5074 MB / 1.154 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.006, allocations: 0.5312 MB / 1.154 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.006, allocations: 3.938 kB / 1.154 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/1.006, allocations: 132.9 kB / 1.155 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.008, allocations: 268.9 kB / 1.155 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/1.011, allocations: 1.43 MB / 1.156 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/1.011, allocations: 0.8942 MB / 1.157 GB, free: 15.65 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/1.011, allocations: 47.42 kB / 1.157 GB, free: 15.6 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/1.011, allocations: 0 / 1.157 GB, free: 15.6 MB / 0.92 GB Notification: Performance of Templates: time 0.01699/1.028, allocations: 9.866 MB / 1.167 GB, free: 5.812 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches