Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001536/0.001536, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001931/0.001931, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.497/1.497, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 469.4 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 70.58 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3469, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.791/1.138, allocations: 180.3 MB / 1.24 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00676/1.145, allocations: 3.744 MB / 1.244 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/1.146, allocations: 27.81 kB / 1.244 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.147, allocations: 437.5 kB / 1.244 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/1.15, allocations: 1.241 MB / 1.246 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/1.152, allocations: 0.7495 MB / 1.246 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001948/1.154, allocations: 1.353 MB / 1.248 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/1.155, allocations: 477.2 kB / 1.248 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/1.158, allocations: 0.965 MB / 1.249 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007539/1.159, allocations: 466.1 kB / 1.25 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/1.159, allocations: 40 kB / 1.25 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/1.161, allocations: 1.193 MB / 1.251 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/1.161, allocations: 195.3 kB / 1.251 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003507/1.162, allocations: 318.3 kB / 1.251 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/1.163, allocations: 1.184 MB / 1.252 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.163, allocations: 0 / 1.252 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/1.163, allocations: 0 / 1.252 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.163, allocations: 0 / 1.252 GB, free: 8.453 MB / 0.9669 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.002023/1.166, allocations: 1.044 MB / 1.253 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.166, allocations: 12.03 kB / 1.253 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/1.167, allocations: 214.9 kB / 1.254 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/1.168, allocations: 0.5381 MB / 1.254 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/1.168, allocations: 36.98 kB / 1.254 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/1.168, allocations: 39.94 kB / 1.254 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.169, allocations: 0.5271 MB / 1.255 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.169, allocations: 4 kB / 1.255 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/1.169, allocations: 16 kB / 1.255 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/1.169, allocations: 17 kB / 1.255 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.17, allocations: 0.5035 MB / 1.255 GB, free: 5.395 MB / 0.9669 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.003292/1.173, allocations: 2.232 MB / 1.257 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/1.174, allocations: 355.8 kB / 1.258 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.174, allocations: 148.6 kB / 1.258 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.176, allocations: 0.8377 MB / 1.259 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/1.176, allocations: 189.6 kB / 1.259 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 3.527e-06/1.176, allocations: 4 kB / 1.259 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0009892/1.177, allocations: 437.9 kB / 1.259 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.177, allocations: 81.05 kB / 1.259 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/1.178, allocations: 0.6525 MB / 1.26 GB, free: 56 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.178, allocations: 33.69 kB / 1.26 GB, free: 16 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/1.178, allocations: 319.7 kB / 1.26 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/1.178, allocations: 86.75 kB / 1.26 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.178, allocations: 77.59 kB / 1.261 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.179, allocations: 378.7 kB / 1.261 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/1.179, allocations: 140.8 kB / 1.261 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/1.179, allocations: 278.9 kB / 1.261 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/1.18, allocations: 385.7 kB / 1.262 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.18, allocations: 0 / 1.262 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009769/1.181, allocations: 480.8 kB / 1.262 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.181, allocations: 8 kB / 1.262 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.181, allocations: 4 kB / 1.262 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.181, allocations: 4 kB / 1.262 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/1.182, allocations: 91.81 kB / 1.262 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.182, allocations: 4 kB / 1.262 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/1.182, allocations: 79.64 kB / 1.262 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.182, allocations: 20.72 kB / 1.262 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000496/1.183, allocations: 292 kB / 1.263 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004285/1.183, allocations: 281 kB / 1.263 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006054/1.184, allocations: 390.4 kB / 1.263 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/1.184, allocations: 0 / 1.263 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009378/1.185, allocations: 472.7 kB / 1.264 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.185, allocations: 12.08 kB / 1.264 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.185, allocations: 4 kB / 1.264 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.185, allocations: 8 kB / 1.264 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/1.185, allocations: 79.89 kB / 1.264 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.185, allocations: 13.5 kB / 1.264 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/1.186, allocations: 67.67 kB / 1.264 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/1.186, allocations: 23.94 kB / 1.264 GB, free: 11.84 MB / 0.9825 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.0001436/1.186, allocations: 196.2 kB / 1.264 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/1.186, allocations: 63.25 kB / 1.264 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/1.187, allocations: 329.3 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.187, allocations: 4 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.187, allocations: 0 / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.187, allocations: 7.922 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/1.188, allocations: 1.086 MB / 1.266 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.188, allocations: 4.312 kB / 1.266 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.188, allocations: 43.92 kB / 1.266 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.188, allocations: 4 kB / 1.266 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/1.188, allocations: 12 kB / 1.266 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.188, allocations: 7.922 kB / 1.266 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.188, allocations: 8.062 kB / 1.266 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/1.189, allocations: 478.6 kB / 1.266 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.189, allocations: 156.3 kB / 1.266 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/1.189, allocations: 12 kB / 1.266 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.189, allocations: 15.98 kB / 1.266 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/1.189, allocations: 31.84 kB / 1.266 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/1.189, allocations: 12 kB / 1.266 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006092/1.19, allocations: 475 kB / 1.267 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/1.19, allocations: 4 kB / 1.267 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007985/1.191, allocations: 263.6 kB / 1.267 GB, free: 8.504 MB / 0.9825 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.001122/1.192, allocations: 0.518 MB / 1.267 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001112/1.193, allocations: 0.5129 MB / 1.268 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.193, allocations: 0 / 1.268 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/1.193, allocations: 123.8 kB / 1.268 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.195, allocations: 275.9 kB / 1.268 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/1.196, allocations: 1.077 MB / 1.269 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.197, allocations: 0.8938 MB / 1.27 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/1.197, allocations: 47.44 kB / 1.27 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.197, allocations: 0 / 1.27 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.0135/1.21, allocations: 9.761 MB / 1.28 GB, free: 11.46 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches