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 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,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.001187/0.001187, allocations: 115 kB / 16.42 MB, free: 6.5 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.001407/0.001407, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.487/1.487, allocations: 222.9 MB / 241.1 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.641/2.641, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7777, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2103/0.988, allocations: 199 MB / 1.415 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006535/0.9946, allocations: 3.749 MB / 1.419 GB, free: 6.852 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.9954, allocations: 27.81 kB / 1.419 GB, free: 6.824 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.9966, allocations: 449.4 kB / 1.419 GB, free: 6.383 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/1, allocations: 1.303 MB / 1.421 GB, free: 5.074 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/1.002, allocations: 0.7466 MB / 1.421 GB, free: 4.332 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00195/1.004, allocations: 1.364 MB / 1.423 GB, free: 2.961 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/1.005, allocations: 0.4887 MB / 1.423 GB, free: 2.465 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/1.008, allocations: 1.009 MB / 1.424 GB, free: 1.457 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/1.008, allocations: 458.2 kB / 1.425 GB, free: 1.008 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/1.009, allocations: 44 kB / 1.425 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/1.011, allocations: 1.193 MB / 1.426 GB, free: 15.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/1.011, allocations: 203.3 kB / 1.426 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005111/1.012, allocations: 318.3 kB / 1.426 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/1.014, allocations: 1.196 MB / 1.427 GB, free: 14.06 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.014, allocations: 3.938 kB / 1.427 GB, free: 14.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/1.014, allocations: 0 / 1.427 GB, free: 14.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.878e-05/1.014, allocations: 0 / 1.427 GB, free: 14.05 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.003018/1.017, allocations: 1.052 MB / 1.428 GB, free: 12.95 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.017, allocations: 12.03 kB / 1.428 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/1.019, allocations: 219 kB / 1.429 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.02, allocations: 0.5615 MB / 1.429 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/1.02, allocations: 36.94 kB / 1.429 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/1.02, allocations: 40 kB / 1.429 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.021, allocations: 0.5465 MB / 1.43 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.021, allocations: 0 / 1.43 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.021, allocations: 16 kB / 1.43 GB, free: 11.47 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/1.021, allocations: 17 kB / 1.43 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.023, allocations: 0.5074 MB / 1.43 GB, free: 10.95 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.003814/1.026, allocations: 2.216 MB / 1.433 GB, free: 8.547 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/1.027, allocations: 342.9 kB / 1.433 GB, free: 8.188 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/1.028, allocations: 144.7 kB / 1.433 GB, free: 8.043 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.029, allocations: 0.8377 MB / 1.434 GB, free: 7.039 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/1.029, allocations: 196.9 kB / 1.434 GB, free: 6.828 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/1.029, allocations: 0 / 1.434 GB, free: 6.828 MB / 1.154 GB Notification: Performance of matching and sorting (n=26): time 0.001066/1.03, allocations: 432.6 kB / 1.434 GB, free: 6.398 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.03, allocations: 85.11 kB / 1.434 GB, free: 6.297 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/1.031, allocations: 0.6563 MB / 1.435 GB, free: 5.633 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/1.032, allocations: 29.7 kB / 1.435 GB, free: 5.598 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/1.032, allocations: 323.8 kB / 1.435 GB, free: 5.277 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/1.032, allocations: 86.75 kB / 1.436 GB, free: 5.191 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.032, allocations: 81.59 kB / 1.436 GB, free: 5.105 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.032, allocations: 366.8 kB / 1.436 GB, free: 4.738 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.033, allocations: 140.8 kB / 1.436 GB, free: 4.598 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/1.033, allocations: 280.9 kB / 1.436 GB, free: 4.262 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/1.034, allocations: 398 kB / 1.437 GB, free: 3.82 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.034, allocations: 4 kB / 1.437 GB, free: 3.816 MB / 1.154 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/1.035, allocations: 468.5 kB / 1.437 GB, free: 3.352 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.035, allocations: 8 kB / 1.437 GB, free: 3.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.035, allocations: 4 kB / 1.437 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.035, allocations: 8 kB / 1.437 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/1.035, allocations: 92.19 kB / 1.437 GB, free: 3.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.035, allocations: 11.94 kB / 1.437 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.036, allocations: 79.48 kB / 1.437 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/1.036, allocations: 20 kB / 1.437 GB, free: 3.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005359/1.037, allocations: 292 kB / 1.438 GB, free: 2.844 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004614/1.037, allocations: 277 kB / 1.438 GB, free: 2.512 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006473/1.038, allocations: 379.4 kB / 1.438 GB, free: 2.09 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/1.038, allocations: 7.938 kB / 1.438 GB, free: 2.082 MB / 1.154 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001057/1.039, allocations: 476.6 kB / 1.439 GB, free: 1.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.039, allocations: 8 kB / 1.439 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.039, allocations: 4 kB / 1.439 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/1.039, allocations: 7.938 kB / 1.439 GB, free: 1.59 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/1.039, allocations: 91.98 kB / 1.439 GB, free: 1.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.039, allocations: 8 kB / 1.439 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/1.04, allocations: 59.8 kB / 1.439 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.04, allocations: 16 kB / 1.439 GB, free: 1.418 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 (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.0001973/1.04, allocations: 223 kB / 1.439 GB, free: 1.195 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.04, allocations: 63.23 kB / 1.439 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/1.041, allocations: 319.9 kB / 1.44 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.041, allocations: 3.984 kB / 1.44 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.041, allocations: 4 kB / 1.44 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/1.041, allocations: 160.2 kB / 1.44 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/1.041, allocations: 7.938 kB / 1.44 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/1.042, allocations: 15.98 kB / 1.44 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/1.042, allocations: 11.98 kB / 1.44 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006451/1.042, allocations: 435.2 kB / 1.44 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006559/1.043, allocations: 0.5473 MB / 1.441 GB, free: 15.6 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001914/1.043, allocations: 107.9 kB / 1.441 GB, free: 15.49 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007128/1.044, allocations: 483 kB / 1.441 GB, free: 15.03 MB / 1.17 GB Notification: Performance of Backend: time 6.21e-07/1.044, allocations: 0 / 1.441 GB, free: 15.03 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003196/1.047, allocations: 1.05 MB / 1.442 GB, free: 14.14 MB / 1.17 GB Notification: Performance of SimCode: time 0.002439/1.05, allocations: 1.513 MB / 1.444 GB, free: 12.58 MB / 1.17 GB Notification: Performance of Templates: time 0.02472/1.074, allocations: 14.16 MB / 1.458 GB, free: 14.55 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/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