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.001658/0.001657, allocations: 108 kB / 15.99 MB, free: 5.895 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.00172/0.00172, allocations: 193.4 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.624/1.624, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.615/2.615, allocations: 437 MB / 0.7107 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001536, allocations: 59.89 kB / 0.8694 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8747, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2007/1.075, allocations: 178 MB / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00718/1.083, allocations: 3.731 MB / 1.195 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/1.084, allocations: 23.81 kB / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/1.085, allocations: 386.3 kB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/1.089, allocations: 1.171 MB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/1.092, allocations: 0.6779 MB / 1.197 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002378/1.094, allocations: 1.348 MB / 1.198 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009682/1.095, allocations: 477.2 kB / 1.199 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/1.099, allocations: 0.9731 MB / 1.2 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009717/1.1, allocations: 486.1 kB / 1.2 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/1.1, allocations: 44 kB / 1.2 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/1.102, allocations: 1.224 MB / 1.202 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/1.102, allocations: 195.4 kB / 1.202 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005963/1.103, allocations: 330.2 kB / 1.202 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/1.105, allocations: 0.8654 MB / 1.203 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.105, allocations: 0 / 1.203 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/1.105, allocations: 4 kB / 1.203 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.881e-05/1.105, allocations: 0 / 1.203 GB, free: 4.223 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.002576/1.107, allocations: 1.04 MB / 1.204 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.107, allocations: 12.02 kB / 1.204 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.109, allocations: 210.9 kB / 1.204 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.11, allocations: 0.542 MB / 1.205 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/1.11, allocations: 29 kB / 1.205 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/1.11, allocations: 43.98 kB / 1.205 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/1.111, allocations: 0.531 MB / 1.205 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.111, allocations: 4 kB / 1.205 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/1.111, allocations: 16 kB / 1.205 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/1.111, allocations: 17 kB / 1.205 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.112, allocations: 0.5035 MB / 1.206 GB, free: 1.168 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.003626/1.116, allocations: 2.219 MB / 1.208 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/1.117, allocations: 355.6 kB / 1.208 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/1.117, allocations: 140.8 kB / 1.208 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/1.119, allocations: 0.8376 MB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/1.119, allocations: 202.4 kB / 1.209 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.986e-06/1.119, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.001133/1.12, allocations: 439.8 kB / 1.21 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.12, allocations: 85.11 kB / 1.21 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/1.121, allocations: 0.6486 MB / 1.211 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/1.121, allocations: 29.7 kB / 1.211 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.121, allocations: 319.7 kB / 1.211 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/1.122, allocations: 94.73 kB / 1.211 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.122, allocations: 85.58 kB / 1.211 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.122, allocations: 366.7 kB / 1.211 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/1.122, allocations: 136.8 kB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/1.123, allocations: 288.9 kB / 1.212 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/1.123, allocations: 379.3 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.123, allocations: 3.984 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001084/1.125, allocations: 474.7 kB / 1.213 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.125, allocations: 8 kB / 1.213 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.125, allocations: 4.062 kB / 1.213 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.125, allocations: 15.94 kB / 1.213 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/1.125, allocations: 88.05 kB / 1.213 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.125, allocations: 4 kB / 1.213 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/1.126, allocations: 87.47 kB / 1.213 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.126, allocations: 20 kB / 1.213 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005359/1.126, allocations: 300 kB / 1.213 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004391/1.127, allocations: 275.5 kB / 1.213 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006181/1.127, allocations: 385.2 kB / 1.214 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.127, allocations: 0 / 1.214 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001042/1.128, allocations: 468.4 kB / 1.214 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.129, allocations: 13.39 kB / 1.214 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.129, allocations: 4.406 kB / 1.214 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/1.129, allocations: 8 kB / 1.214 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/1.129, allocations: 91.83 kB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.129, allocations: 11.88 kB / 1.214 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/1.13, allocations: 67.73 kB / 1.214 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/1.13, allocations: 23.98 kB / 1.214 GB, free: 7.602 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.0001778/1.13, allocations: 210 kB / 1.215 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.13, allocations: 59.25 kB / 1.215 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/1.131, allocations: 326.5 kB / 1.215 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.131, allocations: 4 kB / 1.215 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.131, allocations: 0 / 1.215 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.131, allocations: 7.938 kB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/1.132, allocations: 1.087 MB / 1.216 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.132, allocations: 320 / 1.216 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.133, allocations: 43.92 kB / 1.216 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.133, allocations: 4 kB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.133, allocations: 8 kB / 1.216 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.133, allocations: 4 kB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.133, allocations: 7.938 kB / 1.216 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/1.133, allocations: 475 kB / 1.217 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/1.134, allocations: 160.4 kB / 1.217 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/1.134, allocations: 16 kB / 1.217 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.134, allocations: 27.89 kB / 1.217 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/1.134, allocations: 31.84 kB / 1.217 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/1.134, allocations: 12 kB / 1.217 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006757/1.135, allocations: 475 kB / 1.217 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.135, allocations: 0 / 1.217 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009508/1.136, allocations: 271.6 kB / 1.217 GB, free: 4.246 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.00132/1.137, allocations: 0.5109 MB / 1.218 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.138, allocations: 0.5044 MB / 1.218 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.138, allocations: 0 / 1.218 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.139, allocations: 124.9 kB / 1.219 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.14, allocations: 284.7 kB / 1.219 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/1.143, allocations: 1.252 MB / 1.22 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/1.143, allocations: 0.8937 MB / 1.221 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.143, allocations: 51.44 kB / 1.221 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/1.143, allocations: 0 / 1.221 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of Templates: time 0.0175/1.161, allocations: 9.766 MB / 1.231 GB, free: 7.027 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=480 -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