Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SteamHumidifier_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.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004588/0.004588, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001036/0.001036, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 472.6 MB / 0.7453 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9316, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2111/1.143, allocations: 199 MB / 1.42 GB, free: 5.844 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006694/1.149, allocations: 3.744 MB / 1.424 GB, free: 2.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008566/1.15, allocations: 23.88 kB / 1.424 GB, free: 2.066 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/1.152, allocations: 437.5 kB / 1.424 GB, free: 1.637 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/1.155, allocations: 1.26 MB / 1.425 GB, free: 380 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/1.157, allocations: 0.7464 MB / 1.426 GB, free: 15.63 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001941/1.159, allocations: 1.356 MB / 1.427 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/1.16, allocations: 0.4908 MB / 1.428 GB, free: 13.77 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/1.163, allocations: 0.9692 MB / 1.429 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/1.164, allocations: 462.1 kB / 1.429 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/1.164, allocations: 40 kB / 1.429 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/1.166, allocations: 1.189 MB / 1.43 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/1.166, allocations: 199.3 kB / 1.431 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/1.167, allocations: 330.3 kB / 1.431 GB, free: 10.61 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/1.169, allocations: 1.204 MB / 1.432 GB, free: 9.398 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.169, allocations: 3.984 kB / 1.432 GB, free: 9.395 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/1.169, allocations: 0 / 1.432 GB, free: 9.395 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.048e-05/1.169, allocations: 0 / 1.432 GB, free: 9.395 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002322/1.171, allocations: 1.076 MB / 1.433 GB, free: 8.266 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.171, allocations: 12.02 kB / 1.433 GB, free: 8.254 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.173, allocations: 219.3 kB / 1.433 GB, free: 8.039 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/1.174, allocations: 0.5737 MB / 1.434 GB, free: 7.426 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/1.174, allocations: 29 kB / 1.434 GB, free: 7.398 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/1.174, allocations: 40 kB / 1.434 GB, free: 7.359 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/1.175, allocations: 0.5387 MB / 1.434 GB, free: 6.805 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.175, allocations: 0 / 1.434 GB, free: 6.805 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/1.175, allocations: 16 kB / 1.434 GB, free: 6.789 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/1.175, allocations: 21 kB / 1.434 GB, free: 6.766 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.176, allocations: 0.5074 MB / 1.435 GB, free: 6.262 MB / 1.154 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.003135/1.179, allocations: 2.212 MB / 1.437 GB, free: 3.859 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/1.18, allocations: 352.6 kB / 1.437 GB, free: 3.488 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/1.18, allocations: 144.7 kB / 1.438 GB, free: 3.344 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.182, allocations: 0.8416 MB / 1.438 GB, free: 2.336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/1.182, allocations: 204.1 kB / 1.439 GB, free: 2.121 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/1.182, allocations: 0 / 1.439 GB, free: 2.121 MB / 1.154 GB Notification: Performance of matching and sorting (n=26): time 0.001013/1.183, allocations: 441 kB / 1.439 GB, free: 1.684 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.183, allocations: 81.11 kB / 1.439 GB, free: 1.586 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/1.184, allocations: 0.6602 MB / 1.44 GB, free: 0.918 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/1.184, allocations: 29.7 kB / 1.44 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.184, allocations: 316.2 kB / 1.44 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/1.184, allocations: 95.25 kB / 1.44 GB, free: 488 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.184, allocations: 81.62 kB / 1.44 GB, free: 400 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.185, allocations: 370.8 kB / 1.441 GB, free: 20 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/1.185, allocations: 132.8 kB / 1.441 GB, free: 15.89 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/1.185, allocations: 285 kB / 1.441 GB, free: 15.55 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/1.186, allocations: 389.9 kB / 1.441 GB, free: 15.11 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.186, allocations: 4 kB / 1.441 GB, free: 15.11 MB / 1.17 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001026/1.187, allocations: 485.1 kB / 1.442 GB, free: 14.63 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.187, allocations: 8 kB / 1.442 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.187, allocations: 4 kB / 1.442 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.187, allocations: 4 kB / 1.442 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/1.188, allocations: 88.11 kB / 1.442 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.188, allocations: 11.94 kB / 1.442 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/1.188, allocations: 79.62 kB / 1.442 GB, free: 14.44 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/1.188, allocations: 20 kB / 1.442 GB, free: 14.42 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005033/1.189, allocations: 295.9 kB / 1.442 GB, free: 14.12 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004305/1.189, allocations: 281 kB / 1.443 GB, free: 13.79 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006136/1.19, allocations: 382 kB / 1.443 GB, free: 13.36 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/1.19, allocations: 0 / 1.443 GB, free: 13.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009979/1.191, allocations: 480.9 kB / 1.443 GB, free: 12.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.191, allocations: 8 kB / 1.443 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.191, allocations: 4 kB / 1.443 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/1.191, allocations: 8 kB / 1.443 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/1.191, allocations: 79.89 kB / 1.444 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.191, allocations: 24.02 kB / 1.444 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/1.192, allocations: 55.81 kB / 1.444 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.192, allocations: 27.92 kB / 1.444 GB, free: 12.68 MB / 1.17 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.0001476/1.192, allocations: 208.1 kB / 1.444 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/1.192, allocations: 59.62 kB / 1.444 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/1.193, allocations: 326.5 kB / 1.444 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.193, allocations: 0 / 1.444 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.193, allocations: 4 kB / 1.444 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.193, allocations: 192 / 1.444 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.194, allocations: 1.094 MB / 1.445 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.194, allocations: 4 kB / 1.445 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.194, allocations: 43.86 kB / 1.445 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.194, allocations: 7.984 kB / 1.445 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.194, allocations: 4 kB / 1.445 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.194, allocations: 4 kB / 1.445 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.194, allocations: 7.938 kB / 1.445 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/1.195, allocations: 487.5 kB / 1.446 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/1.195, allocations: 160.6 kB / 1.446 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/1.195, allocations: 8 kB / 1.446 GB, free: 10.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/1.196, allocations: 16.05 kB / 1.446 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/1.196, allocations: 27.92 kB / 1.446 GB, free: 10.08 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.196, allocations: 19.98 kB / 1.446 GB, free: 10.06 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006415/1.196, allocations: 471 kB / 1.446 GB, free: 9.609 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 0 / 1.446 GB, free: 9.609 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008736/1.197, allocations: 271.5 kB / 1.447 GB, free: 9.344 MB / 1.17 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.001231/1.199, allocations: 0.5053 MB / 1.447 GB, free: 8.992 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001208/1.2, allocations: 0.5028 MB / 1.448 GB, free: 8.492 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.2, allocations: 4 kB / 1.448 GB, free: 8.488 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.2, allocations: 121 kB / 1.448 GB, free: 8.371 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.201, allocations: 285.5 kB / 1.448 GB, free: 8.098 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.203, allocations: 1.044 MB / 1.449 GB, free: 6.996 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/1.204, allocations: 0.8938 MB / 1.45 GB, free: 6.074 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005717/1.204, allocations: 168.8 kB / 1.45 GB, free: 5.906 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.204, allocations: 43.44 kB / 1.45 GB, free: 5.863 MB / 1.17 GB Notification: Performance of SimCode: time 2.3e-07/1.204, allocations: 0 / 1.45 GB, free: 5.863 MB / 1.17 GB Notification: Performance of Templates: time 0.0182/1.222, allocations: 10.45 MB / 1.46 GB, free: 11.54 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches