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.001632/0.001632, allocations: 103.3 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.001683/0.001683, allocations: 189.7 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.55 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7693, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2459/1.015, allocations: 199 MB / 1.277 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00685/1.022, allocations: 3.74 MB / 1.281 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007796/1.023, allocations: 27.81 kB / 1.281 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/1.024, allocations: 445.5 kB / 1.281 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003331/1.028, allocations: 1.241 MB / 1.283 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/1.03, allocations: 0.7476 MB / 1.283 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001989/1.032, allocations: 1.352 MB / 1.285 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/1.033, allocations: 494.7 kB / 1.285 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/1.036, allocations: 1.106 MB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008847/1.037, allocations: 458.2 kB / 1.287 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/1.037, allocations: 40 kB / 1.287 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/1.039, allocations: 1.181 MB / 1.288 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/1.04, allocations: 199.4 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005484/1.04, allocations: 326.2 kB / 1.288 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/1.043, allocations: 1.176 MB / 1.289 GB, free: 10.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.043, allocations: 0 / 1.289 GB, free: 10.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.043, allocations: 0 / 1.289 GB, free: 10.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.641e-05/1.043, allocations: 0 / 1.289 GB, free: 10.77 MB / 1.014 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.002523/1.045, allocations: 1.059 MB / 1.29 GB, free: 9.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.045, allocations: 11.97 kB / 1.29 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/1.047, allocations: 215 kB / 1.291 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/1.048, allocations: 0.5304 MB / 1.291 GB, free: 8.867 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/1.048, allocations: 33 kB / 1.291 GB, free: 8.832 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/1.048, allocations: 40 kB / 1.291 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.049, allocations: 0.5426 MB / 1.292 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/1.049, allocations: 0 / 1.292 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/1.049, allocations: 20 kB / 1.292 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/1.049, allocations: 17 kB / 1.292 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.05, allocations: 0.5035 MB / 1.292 GB, free: 7.695 MB / 1.014 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.003895/1.054, allocations: 2.231 MB / 1.295 GB, free: 5.277 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/1.055, allocations: 347.8 kB / 1.295 GB, free: 4.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/1.056, allocations: 144.7 kB / 1.295 GB, free: 4.766 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.057, allocations: 0.8376 MB / 1.296 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/1.058, allocations: 190.7 kB / 1.296 GB, free: 3.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 3.526e-06/1.058, allocations: 0 / 1.296 GB, free: 3.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.001151/1.059, allocations: 446.6 kB / 1.296 GB, free: 3.117 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.059, allocations: 81.11 kB / 1.296 GB, free: 3.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.06, allocations: 0.6563 MB / 1.297 GB, free: 2.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/1.06, allocations: 33.7 kB / 1.297 GB, free: 2.312 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/1.06, allocations: 323.7 kB / 1.297 GB, free: 1.992 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/1.06, allocations: 86.75 kB / 1.298 GB, free: 1.906 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.06, allocations: 77.59 kB / 1.298 GB, free: 1.824 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.061, allocations: 370.8 kB / 1.298 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/1.061, allocations: 148.7 kB / 1.298 GB, free: 1.305 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/1.062, allocations: 273 kB / 1.298 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/1.062, allocations: 397.5 kB / 1.299 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.062, allocations: 0 / 1.299 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/1.063, allocations: 468.9 kB / 1.299 GB, free: 72 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.063, allocations: 10.5 kB / 1.299 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.063, allocations: 4 kB / 1.299 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.063, allocations: 8 kB / 1.299 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/1.064, allocations: 91.81 kB / 1.299 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.064, allocations: 8 kB / 1.299 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/1.065, allocations: 75.48 kB / 1.299 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.065, allocations: 20 kB / 1.299 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005868/1.065, allocations: 300 kB / 1.3 GB, free: 15.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004964/1.066, allocations: 277 kB / 1.3 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006914/1.067, allocations: 389.1 kB / 1.3 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.067, allocations: 0 / 1.3 GB, free: 14.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001083/1.068, allocations: 465.2 kB / 1.301 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.068, allocations: 12.02 kB / 1.301 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.068, allocations: 11.98 kB / 1.301 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1.068, allocations: 7.938 kB / 1.301 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/1.068, allocations: 87.89 kB / 1.301 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.068, allocations: 7.938 kB / 1.301 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/1.069, allocations: 63.7 kB / 1.301 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/1.069, allocations: 23.94 kB / 1.301 GB, free: 14.12 MB / 1.029 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.0001796/1.069, allocations: 206.7 kB / 1.301 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.069, allocations: 59.25 kB / 1.301 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/1.07, allocations: 322.3 kB / 1.302 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.07, allocations: 4.125 kB / 1.302 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.07, allocations: 4 kB / 1.302 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.07, allocations: 3.984 kB / 1.302 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.071, allocations: 1.095 MB / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.072, allocations: 0 / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.072, allocations: 40.23 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.072, allocations: 8 kB / 1.303 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.072, allocations: 15.92 kB / 1.303 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.072, allocations: 4 kB / 1.303 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.072, allocations: 7.938 kB / 1.303 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/1.072, allocations: 472 kB / 1.303 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.073, allocations: 156.4 kB / 1.303 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/1.073, allocations: 8 kB / 1.303 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/1.073, allocations: 23.98 kB / 1.303 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/1.073, allocations: 19.91 kB / 1.303 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.073, allocations: 12 kB / 1.303 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007215/1.074, allocations: 479 kB / 1.304 GB, free: 11.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.074, allocations: 0 / 1.304 GB, free: 11.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009482/1.075, allocations: 263.6 kB / 1.304 GB, free: 10.8 MB / 1.029 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.001889/1.077, allocations: 0.5166 MB / 1.305 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.078, allocations: 0.5126 MB / 1.305 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.078, allocations: 0 / 1.305 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/1.078, allocations: 124.9 kB / 1.305 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.08, allocations: 289.5 kB / 1.305 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/1.082, allocations: 1.074 MB / 1.307 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/1.083, allocations: 0.8938 MB / 1.307 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/1.083, allocations: 55.42 kB / 1.307 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.083, allocations: 0 / 1.307 GB, free: 7.418 MB / 1.029 GB Notification: Performance of Templates: time 0.01726/1.1, allocations: 9.766 MB / 1.317 GB, free: 13.73 MB / 1.045 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=400 -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/jenkins1/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