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.008273/0.008273, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.002038/0.002039, allocations: 195.8 kB / 16.67 MB, free: 5.938 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.538/2.538, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002206, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9261, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1987/1.125, allocations: 180.3 MB / 1.343 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006743/1.132, allocations: 3.746 MB / 1.346 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009319/1.133, allocations: 27.81 kB / 1.346 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.134, allocations: 441.6 kB / 1.347 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/1.137, allocations: 1.301 MB / 1.348 GB, free: 9.332 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/1.14, allocations: 0.7496 MB / 1.349 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00205/1.142, allocations: 1.348 MB / 1.35 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/1.143, allocations: 489.3 kB / 1.351 GB, free: 6.746 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/1.145, allocations: 1.017 MB / 1.352 GB, free: 5.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/1.146, allocations: 458.2 kB / 1.352 GB, free: 5.281 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/1.147, allocations: 40 kB / 1.352 GB, free: 5.242 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/1.149, allocations: 1.189 MB / 1.353 GB, free: 4.051 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/1.149, allocations: 199.4 kB / 1.353 GB, free: 3.855 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/1.15, allocations: 330.2 kB / 1.354 GB, free: 3.531 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.152, allocations: 1.191 MB / 1.355 GB, free: 2.336 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.152, allocations: 4 kB / 1.355 GB, free: 2.332 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/1.152, allocations: 0 / 1.355 GB, free: 2.332 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.866e-05/1.152, allocations: 4 kB / 1.355 GB, free: 2.328 MB / 1.076 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.002513/1.155, allocations: 1.074 MB / 1.356 GB, free: 1.199 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.155, allocations: 8.031 kB / 1.356 GB, free: 1.191 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/1.156, allocations: 223.3 kB / 1.356 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.158, allocations: 0.5737 MB / 1.357 GB, free: 368 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/1.158, allocations: 29 kB / 1.357 GB, free: 340 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/1.158, allocations: 36 kB / 1.357 GB, free: 304 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/1.159, allocations: 0.5388 MB / 1.357 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.159, allocations: 0 / 1.357 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/1.159, allocations: 19.98 kB / 1.357 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.159, allocations: 13 kB / 1.357 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.16, allocations: 0.5035 MB / 1.358 GB, free: 15.21 MB / 1.092 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.003678/1.164, allocations: 2.22 MB / 1.36 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008688/1.165, allocations: 353.1 kB / 1.36 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/1.165, allocations: 140.8 kB / 1.36 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.167, allocations: 0.8376 MB / 1.361 GB, free: 11.28 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/1.167, allocations: 196.9 kB / 1.361 GB, free: 11.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.973e-06/1.167, allocations: 3.938 kB / 1.361 GB, free: 11.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.001079/1.168, allocations: 442.5 kB / 1.362 GB, free: 10.63 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.168, allocations: 81.11 kB / 1.362 GB, free: 10.53 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/1.169, allocations: 0.6525 MB / 1.363 GB, free: 9.871 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/1.169, allocations: 33.7 kB / 1.363 GB, free: 9.832 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/1.169, allocations: 324.2 kB / 1.363 GB, free: 9.512 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/1.169, allocations: 91.22 kB / 1.363 GB, free: 9.422 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.17, allocations: 77.64 kB / 1.363 GB, free: 9.34 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.17, allocations: 374.7 kB / 1.363 GB, free: 8.965 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/1.17, allocations: 144.7 kB / 1.364 GB, free: 8.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/1.171, allocations: 281 kB / 1.364 GB, free: 8.484 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/1.171, allocations: 385.2 kB / 1.364 GB, free: 8.055 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.171, allocations: 0 / 1.364 GB, free: 8.055 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/1.172, allocations: 486.1 kB / 1.365 GB, free: 7.574 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.172, allocations: 4 kB / 1.365 GB, free: 7.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.173, allocations: 7.938 kB / 1.365 GB, free: 7.562 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.173, allocations: 8 kB / 1.365 GB, free: 7.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/1.173, allocations: 83.89 kB / 1.365 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.173, allocations: 8.156 kB / 1.365 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.174, allocations: 75.62 kB / 1.365 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.174, allocations: 23.94 kB / 1.365 GB, free: 7.367 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000516/1.174, allocations: 300 kB / 1.365 GB, free: 7.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004504/1.175, allocations: 277.7 kB / 1.365 GB, free: 6.738 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006276/1.175, allocations: 395.3 kB / 1.366 GB, free: 6.301 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/1.175, allocations: 0 / 1.366 GB, free: 6.301 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001009/1.176, allocations: 477 kB / 1.366 GB, free: 5.828 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.176, allocations: 8 kB / 1.366 GB, free: 5.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.176, allocations: 4 kB / 1.366 GB, free: 5.816 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/1.176, allocations: 4 kB / 1.366 GB, free: 5.812 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.177, allocations: 91.83 kB / 1.366 GB, free: 5.723 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.177, allocations: 7.938 kB / 1.366 GB, free: 5.715 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/1.177, allocations: 63.94 kB / 1.366 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.177, allocations: 20 kB / 1.366 GB, free: 5.633 MB / 1.092 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.0001605/1.178, allocations: 216.7 kB / 1.367 GB, free: 5.414 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/1.178, allocations: 63.58 kB / 1.367 GB, free: 5.352 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/1.178, allocations: 315.7 kB / 1.367 GB, free: 5.031 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.178, allocations: 11.92 kB / 1.367 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.178, allocations: 0 / 1.367 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.178, allocations: 3.938 kB / 1.367 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.18, allocations: 1.093 MB / 1.368 GB, free: 3.836 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.18, allocations: 4.062 kB / 1.368 GB, free: 3.832 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/1.18, allocations: 39.92 kB / 1.368 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/1.18, allocations: 4 kB / 1.368 GB, free: 3.789 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.18, allocations: 8.062 kB / 1.368 GB, free: 3.781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.18, allocations: 8 kB / 1.368 GB, free: 3.773 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.18, allocations: 4 kB / 1.368 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/1.181, allocations: 474.3 kB / 1.369 GB, free: 3.262 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/1.181, allocations: 168.6 kB / 1.369 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/1.181, allocations: 11.98 kB / 1.369 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/1.181, allocations: 19.98 kB / 1.369 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/1.181, allocations: 23.86 kB / 1.369 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/1.182, allocations: 8 kB / 1.369 GB, free: 3.016 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006626/1.182, allocations: 483 kB / 1.369 GB, free: 2.551 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.182, allocations: 0 / 1.369 GB, free: 2.551 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009454/1.183, allocations: 267.5 kB / 1.37 GB, free: 2.289 MB / 1.092 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.001387/1.185, allocations: 0.5104 MB / 1.37 GB, free: 1.938 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.186, allocations: 0.4986 MB / 1.371 GB, free: 1.441 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.186, allocations: 0 / 1.371 GB, free: 1.441 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/1.186, allocations: 127.7 kB / 1.371 GB, free: 1.316 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.187, allocations: 294.2 kB / 1.371 GB, free: 1.039 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.189, allocations: 1.034 MB / 1.372 GB, free: 15.95 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/1.19, allocations: 0.8938 MB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006071/1.19, allocations: 160.8 kB / 1.373 GB, free: 14.86 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.191, allocations: 51.42 kB / 1.373 GB, free: 14.81 MB / 1.107 GB Notification: Performance of SimCode: time 4.41e-07/1.191, allocations: 0 / 1.373 GB, free: 14.81 MB / 1.107 GB Notification: Performance of Templates: time 0.01949/1.21, allocations: 10.46 MB / 1.383 GB, free: 4.488 MB / 1.107 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/jenkins/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