Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.SteamHumidifier_X_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005803/0.005803, allocations: 106.5 kB / 15.74 MB, free: 5.582 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.001069/0.00107, allocations: 197.2 kB / 16.67 MB, free: 5.508 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 67.88 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9828, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2102/1.193, allocations: 199 MB / 1.402 GB, free: 5.883 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007222/1.2, allocations: 3.749 MB / 1.406 GB, free: 2.125 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/1.201, allocations: 27.81 kB / 1.406 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/1.202, allocations: 433.5 kB / 1.406 GB, free: 1.672 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/1.205, allocations: 1.256 MB / 1.407 GB, free: 420 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/1.207, allocations: 0.7544 MB / 1.408 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001536/1.208, allocations: 1.364 MB / 1.409 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/1.209, allocations: 0.4926 MB / 1.41 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/1.211, allocations: 0.9959 MB / 1.411 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/1.212, allocations: 458.1 kB / 1.411 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/1.212, allocations: 44 kB / 1.411 GB, free: 12.31 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/1.213, allocations: 1.189 MB / 1.413 GB, free: 11.12 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/1.214, allocations: 203.4 kB / 1.413 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/1.214, allocations: 334.2 kB / 1.413 GB, free: 10.59 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/1.216, allocations: 1.196 MB / 1.414 GB, free: 9.395 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.216, allocations: 4 kB / 1.414 GB, free: 9.391 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.282e-06/1.216, allocations: 0 / 1.414 GB, free: 9.391 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.216, allocations: 0 / 1.414 GB, free: 9.391 MB / 1.139 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.002254/1.218, allocations: 1.059 MB / 1.415 GB, free: 8.281 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.218, allocations: 8.031 kB / 1.415 GB, free: 8.273 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.219, allocations: 223 kB / 1.415 GB, free: 8.055 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/1.22, allocations: 0.5654 MB / 1.416 GB, free: 7.449 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/1.22, allocations: 33 kB / 1.416 GB, free: 7.418 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/1.22, allocations: 47.98 kB / 1.416 GB, free: 7.371 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.221, allocations: 0.5396 MB / 1.417 GB, free: 6.809 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.222, allocations: 7.938 kB / 1.417 GB, free: 6.801 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/1.222, allocations: 12 kB / 1.417 GB, free: 6.789 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/1.222, allocations: 21 kB / 1.417 GB, free: 6.77 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.223, allocations: 0.4957 MB / 1.417 GB, free: 6.273 MB / 1.139 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.003038/1.226, allocations: 2.218 MB / 1.419 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/1.226, allocations: 361.3 kB / 1.42 GB, free: 3.5 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/1.227, allocations: 144.8 kB / 1.42 GB, free: 3.355 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.228, allocations: 0.8416 MB / 1.421 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/1.228, allocations: 200.9 kB / 1.421 GB, free: 2.133 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 3.426e-06/1.228, allocations: 0 / 1.421 GB, free: 2.133 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001002/1.229, allocations: 462.7 kB / 1.421 GB, free: 1.676 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.229, allocations: 89.11 kB / 1.421 GB, free: 1.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/1.23, allocations: 0.6485 MB / 1.422 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.23, allocations: 33.7 kB / 1.422 GB, free: 0.875 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/1.231, allocations: 315.8 kB / 1.422 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/1.231, allocations: 98.66 kB / 1.422 GB, free: 476 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/1.231, allocations: 86.11 kB / 1.422 GB, free: 384 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.231, allocations: 370.8 kB / 1.423 GB, free: 4 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/1.231, allocations: 146.5 kB / 1.423 GB, free: 15.86 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/1.232, allocations: 302.3 kB / 1.423 GB, free: 15.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/1.233, allocations: 408.6 kB / 1.424 GB, free: 15.05 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.233, allocations: 0 / 1.424 GB, free: 15.05 MB / 1.154 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001041/1.234, allocations: 499 kB / 1.424 GB, free: 14.55 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.234, allocations: 8 kB / 1.424 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.234, allocations: 4 kB / 1.424 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.234, allocations: 8.594 kB / 1.424 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/1.234, allocations: 99.81 kB / 1.424 GB, free: 14.44 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.234, allocations: 8 kB / 1.424 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/1.235, allocations: 83.39 kB / 1.424 GB, free: 14.35 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.235, allocations: 16 kB / 1.424 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005191/1.235, allocations: 300.9 kB / 1.425 GB, free: 14.04 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004721/1.236, allocations: 302.2 kB / 1.425 GB, free: 13.68 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006569/1.236, allocations: 402.6 kB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/1.236, allocations: 4 kB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001042/1.238, allocations: 0.4888 MB / 1.426 GB, free: 12.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.238, allocations: 8 kB / 1.426 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.238, allocations: 4 kB / 1.426 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/1.238, allocations: 4.281 kB / 1.426 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.238, allocations: 91.89 kB / 1.426 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.238, allocations: 11.92 kB / 1.426 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/1.239, allocations: 71.64 kB / 1.426 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.239, allocations: 23.98 kB / 1.426 GB, free: 12.52 MB / 1.154 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 (47): * Single equations (assignments): 47 * 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.0001658/1.239, allocations: 204.1 kB / 1.426 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/1.239, allocations: 63.25 kB / 1.426 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/1.24, allocations: 333.6 kB / 1.427 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.24, allocations: 8 kB / 1.427 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.24, allocations: 7.922 kB / 1.427 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.24, allocations: 0 / 1.427 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/1.241, allocations: 1.12 MB / 1.428 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.241, allocations: 4 kB / 1.428 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.241, allocations: 39.92 kB / 1.428 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.241, allocations: 7.938 kB / 1.428 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/1.241, allocations: 12.06 kB / 1.428 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.241, allocations: 8.25 kB / 1.428 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.241, allocations: 8 kB / 1.428 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/1.242, allocations: 0.6245 MB / 1.428 GB, free: 9.941 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/1.243, allocations: 168.2 kB / 1.429 GB, free: 9.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/1.243, allocations: 11.98 kB / 1.429 GB, free: 9.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.243, allocations: 20.05 kB / 1.429 GB, free: 9.727 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/1.243, allocations: 23.92 kB / 1.429 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/1.243, allocations: 16.03 kB / 1.429 GB, free: 9.688 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006837/1.244, allocations: 483 kB / 1.429 GB, free: 9.219 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.4e-07/1.244, allocations: 0 / 1.429 GB, free: 9.219 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009719/1.245, allocations: 271.6 kB / 1.429 GB, free: 8.953 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.00135/1.246, allocations: 0.5064 MB / 1.43 GB, free: 8.602 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001269/1.247, allocations: 0.5397 MB / 1.43 GB, free: 8.066 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.247, allocations: 0 / 1.43 GB, free: 8.066 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/1.248, allocations: 136.7 kB / 1.43 GB, free: 7.934 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.249, allocations: 275.2 kB / 1.431 GB, free: 7.672 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/1.251, allocations: 1.16 MB / 1.432 GB, free: 6.457 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/1.252, allocations: 0.8978 MB / 1.433 GB, free: 5.531 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00058/1.252, allocations: 161 kB / 1.433 GB, free: 5.375 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.252, allocations: 47.42 kB / 1.433 GB, free: 5.328 MB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/1.252, allocations: 0 / 1.433 GB, free: 5.328 MB / 1.154 GB Notification: Performance of Templates: time 0.02351/1.276, allocations: 10.86 MB / 1.444 GB, free: 10.61 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches