Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_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_10_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_10_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.000916/0.0009208, allocations: 99.34 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.001396/0.001396, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003523, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.663, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1869/0.85, allocations: 175.8 MB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006381/0.8564, allocations: 3.728 MB / 1.199 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.8573, allocations: 23.81 kB / 1.199 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.8584, allocations: 382.2 kB / 1.199 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.8617, allocations: 1.171 MB / 1.201 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.8637, allocations: 0.6582 MB / 1.201 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.8661, allocations: 1.843 MB / 1.203 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/0.8668, allocations: 413.6 kB / 1.203 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.8694, allocations: 0.8793 MB / 1.204 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.8702, allocations: 466.1 kB / 1.205 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.8703, allocations: 24 kB / 1.205 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.8727, allocations: 1.313 MB / 1.206 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.8729, allocations: 171.4 kB / 1.206 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.8733, allocations: 331.9 kB / 1.206 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.8746, allocations: 0.8496 MB / 1.207 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8746, allocations: 0 / 1.207 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8746, allocations: 0 / 1.207 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.8746, allocations: 0 / 1.207 GB, free: 3.16 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.002008/0.8766, allocations: 0.9311 MB / 1.208 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.8767, allocations: 8.031 kB / 1.208 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.878, allocations: 235 kB / 1.208 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.8788, allocations: 0.5459 MB / 1.209 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.8788, allocations: 33 kB / 1.209 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.8789, allocations: 43.98 kB / 1.209 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.88, allocations: 0.5435 MB / 1.21 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.88, allocations: 0 / 1.21 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.88, allocations: 16 kB / 1.21 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.8801, allocations: 20.94 kB / 1.21 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.8812, allocations: 0.5074 MB / 1.21 GB, free: 172 kB / 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.003075/0.8843, allocations: 2.23 MB / 1.212 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.885, allocations: 361.2 kB / 1.213 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.8853, allocations: 153.9 kB / 1.213 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.8866, allocations: 0.8649 MB / 1.214 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.887, allocations: 205.9 kB / 1.214 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/0.887, allocations: 0 / 1.214 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001039/0.888, allocations: 456.7 kB / 1.214 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8881, allocations: 85.11 kB / 1.214 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.889, allocations: 0.6485 MB / 1.215 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.889, allocations: 37.7 kB / 1.215 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.8893, allocations: 311.8 kB / 1.215 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.8894, allocations: 98.59 kB / 1.215 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.8894, allocations: 37.7 kB / 1.215 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8896, allocations: 370.8 kB / 1.216 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.89, allocations: 140.8 kB / 1.216 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.8905, allocations: 306.2 kB / 1.216 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.8911, allocations: 405.1 kB / 1.217 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.8911, allocations: 7.938 kB / 1.217 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001025/0.8922, allocations: 496 kB / 1.217 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.8923, allocations: 207.7 kB / 1.217 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8923, allocations: 4 kB / 1.217 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.8924, allocations: 8 kB / 1.217 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.8928, allocations: 87.83 kB / 1.217 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.8928, allocations: 11.98 kB / 1.217 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.8935, allocations: 91.39 kB / 1.217 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.8935, allocations: 24 kB / 1.217 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.8935, allocations: 0 / 1.217 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008907/0.8944, allocations: 415.3 kB / 1.218 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8945, allocations: 4 kB / 1.218 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.8945, allocations: 8.406 kB / 1.218 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.8949, allocations: 91.89 kB / 1.218 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8949, allocations: 11.94 kB / 1.218 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.8954, allocations: 75.58 kB / 1.218 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.8954, allocations: 16 kB / 1.218 GB, free: 7.371 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 (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.0003206/0.8958, allocations: 296.9 kB / 1.218 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.8959, allocations: 67.12 kB / 1.218 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.8965, allocations: 338.4 kB / 1.219 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.8965, allocations: 4 kB / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8965, allocations: 240 / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8965, allocations: 0 / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.8981, allocations: 1.119 MB / 1.22 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8981, allocations: 7.984 kB / 1.22 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.8983, allocations: 35.98 kB / 1.22 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.8983, allocations: 7.938 kB / 1.22 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.8984, allocations: 16.23 kB / 1.22 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.8984, allocations: 11.98 kB / 1.22 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8984, allocations: 4 kB / 1.22 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.8992, allocations: 0.6138 MB / 1.22 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.8994, allocations: 180.2 kB / 1.221 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.8995, allocations: 4 kB / 1.221 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.8999, allocations: 28.05 kB / 1.221 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.8999, allocations: 27.91 kB / 1.221 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.9, allocations: 12 kB / 1.221 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006543/0.9006, allocations: 475 kB / 1.221 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9006, allocations: 0 / 1.221 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009097/0.9016, allocations: 275.5 kB / 1.221 GB, free: 3.715 MB / 0.9669 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.001226/0.9028, allocations: 0.5176 MB / 1.222 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.904, allocations: 0.5284 MB / 1.222 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.9041, allocations: 7.938 kB / 1.222 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.9043, allocations: 135.8 kB / 1.223 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.9059, allocations: 266.1 kB / 1.223 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.9082, allocations: 1.425 MB / 1.224 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.9087, allocations: 0.8942 MB / 1.225 GB, free: 24 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.9089, allocations: 51.48 kB / 1.225 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.9089, allocations: 0 / 1.225 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.01683/0.9257, allocations: 9.852 MB / 1.235 GB, free: 6.199 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches