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.001164/0.001164, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001155/0.001156, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9273/0.9287, allocations: 157.4 MB / 1.208 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2084/1.137, allocations: 180.3 MB / 1.385 GB, free: 8.531 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006844/1.144, allocations: 3.736 MB / 1.388 GB, free: 4.789 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/1.145, allocations: 27.81 kB / 1.388 GB, free: 4.762 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/1.146, allocations: 437.5 kB / 1.389 GB, free: 4.332 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/1.15, allocations: 1.256 MB / 1.39 GB, free: 3.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/1.152, allocations: 0.747 MB / 1.391 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002186/1.154, allocations: 1.348 MB / 1.392 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009386/1.155, allocations: 485.3 kB / 1.392 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/1.158, allocations: 0.9927 MB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/1.159, allocations: 462.1 kB / 1.394 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/1.159, allocations: 44 kB / 1.394 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/1.162, allocations: 1.189 MB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/1.162, allocations: 203.3 kB / 1.395 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005622/1.163, allocations: 318.2 kB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/1.165, allocations: 1.201 MB / 1.397 GB, free: 12.1 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.165, allocations: 0 / 1.397 GB, free: 12.1 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.054e-06/1.165, allocations: 0 / 1.397 GB, free: 12.1 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.577e-05/1.165, allocations: 0 / 1.397 GB, free: 12.1 MB / 1.123 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.002438/1.168, allocations: 1.04 MB / 1.398 GB, free: 11.01 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.168, allocations: 12.03 kB / 1.398 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.169, allocations: 222.9 kB / 1.398 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/1.17, allocations: 0.5615 MB / 1.398 GB, free: 10.18 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/1.17, allocations: 36.98 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/1.17, allocations: 36 kB / 1.398 GB, free: 10.11 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.172, allocations: 0.5348 MB / 1.399 GB, free: 9.555 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.172, allocations: 4 kB / 1.399 GB, free: 9.551 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/1.172, allocations: 19.98 kB / 1.399 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.172, allocations: 17 kB / 1.399 GB, free: 9.516 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.173, allocations: 0.5035 MB / 1.4 GB, free: 9.012 MB / 1.123 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.003576/1.177, allocations: 2.207 MB / 1.402 GB, free: 6.613 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/1.177, allocations: 355.7 kB / 1.402 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/1.178, allocations: 140.7 kB / 1.402 GB, free: 6.098 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.179, allocations: 0.8377 MB / 1.403 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/1.18, allocations: 197.4 kB / 1.403 GB, free: 4.887 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 2.845e-06/1.18, allocations: 3.938 kB / 1.403 GB, free: 4.883 MB / 1.123 GB Notification: Performance of matching and sorting (n=26): time 0.001093/1.181, allocations: 435.5 kB / 1.404 GB, free: 4.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.181, allocations: 81.11 kB / 1.404 GB, free: 4.355 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.182, allocations: 0.6563 MB / 1.404 GB, free: 3.691 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/1.182, allocations: 33.7 kB / 1.404 GB, free: 3.652 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/1.182, allocations: 315.7 kB / 1.405 GB, free: 3.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/1.182, allocations: 90.83 kB / 1.405 GB, free: 3.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.182, allocations: 77.59 kB / 1.405 GB, free: 3.168 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.183, allocations: 374.7 kB / 1.405 GB, free: 2.793 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.183, allocations: 136.8 kB / 1.405 GB, free: 2.656 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/1.183, allocations: 281 kB / 1.406 GB, free: 2.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/1.184, allocations: 387 kB / 1.406 GB, free: 1.887 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/1.184, allocations: 0 / 1.406 GB, free: 1.887 MB / 1.123 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001083/1.185, allocations: 474.3 kB / 1.406 GB, free: 1.418 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.185, allocations: 8 kB / 1.406 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.185, allocations: 4 kB / 1.406 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.185, allocations: 8 kB / 1.406 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/1.186, allocations: 88.03 kB / 1.406 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/1.186, allocations: 15.94 kB / 1.406 GB, free: 1.297 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/1.186, allocations: 71.77 kB / 1.407 GB, free: 1.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/1.187, allocations: 24 kB / 1.407 GB, free: 1.203 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005348/1.187, allocations: 288 kB / 1.407 GB, free: 0.918 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000512/1.188, allocations: 293.6 kB / 1.407 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006553/1.188, allocations: 381.8 kB / 1.407 GB, free: 148 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.081e-06/1.188, allocations: 4 kB / 1.408 GB, free: 144 kB / 1.123 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001072/1.189, allocations: 476.6 kB / 1.408 GB, free: 15.66 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.189, allocations: 11.98 kB / 1.408 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.189, allocations: 4 kB / 1.408 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/1.189, allocations: 4 kB / 1.408 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/1.19, allocations: 87.89 kB / 1.408 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.19, allocations: 12.03 kB / 1.408 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.19, allocations: 67.64 kB / 1.408 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/1.19, allocations: 20 kB / 1.408 GB, free: 15.46 MB / 1.139 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.0001769/1.191, allocations: 204.2 kB / 1.408 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.191, allocations: 63.23 kB / 1.408 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/1.191, allocations: 322.9 kB / 1.409 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.191, allocations: 7.938 kB / 1.409 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.191, allocations: 0 / 1.409 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.191, allocations: 7.922 kB / 1.409 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.193, allocations: 1.089 MB / 1.41 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.193, allocations: 0 / 1.41 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/1.193, allocations: 39.92 kB / 1.41 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.193, allocations: 4 kB / 1.41 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/1.193, allocations: 11.98 kB / 1.41 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.193, allocations: 4 kB / 1.41 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-05/1.194, allocations: 7.938 kB / 1.41 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/1.194, allocations: 475.2 kB / 1.41 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/1.195, allocations: 160.3 kB / 1.41 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.195, allocations: 8 kB / 1.41 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.195, allocations: 19.98 kB / 1.41 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/1.195, allocations: 19.91 kB / 1.411 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/1.195, allocations: 16 kB / 1.411 GB, free: 12.86 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007461/1.196, allocations: 475 kB / 1.411 GB, free: 12.4 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.1e-07/1.196, allocations: 3.938 kB / 1.411 GB, free: 12.39 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001011/1.197, allocations: 267.5 kB / 1.411 GB, free: 12.13 MB / 1.139 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.001509/1.198, allocations: 0.517 MB / 1.412 GB, free: 11.78 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.2, allocations: 0.5007 MB / 1.412 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.2, allocations: 0 / 1.412 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/1.2, allocations: 125.1 kB / 1.412 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.201, allocations: 282.9 kB / 1.413 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/1.204, allocations: 1.053 MB / 1.414 GB, free: 9.77 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/1.204, allocations: 0.8899 MB / 1.415 GB, free: 8.852 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.205, allocations: 55.36 kB / 1.415 GB, free: 8.797 MB / 1.139 GB Notification: Performance of SimCode: time 7.01e-07/1.205, allocations: 0 / 1.415 GB, free: 8.797 MB / 1.139 GB Notification: Performance of Templates: time 0.01923/1.224, allocations: 9.83 MB / 1.424 GB, free: 15.05 MB / 1.154 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