Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.005873/0.005872, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001268/0.001268, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.451/1.451, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7673, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2334/1.001, allocations: 196.8 MB / 1.142 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006788/1.008, allocations: 3.795 MB / 1.145 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/1.009, allocations: 27.81 kB / 1.145 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/1.01, allocations: 374.2 kB / 1.146 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003524/1.014, allocations: 1.171 MB / 1.147 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/1.016, allocations: 0.6646 MB / 1.148 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002447/1.018, allocations: 1.84 MB / 1.149 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/1.019, allocations: 435.5 kB / 1.15 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/1.022, allocations: 0.8863 MB / 1.151 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/1.023, allocations: 478.1 kB / 1.151 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/1.023, allocations: 32 kB / 1.151 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.026, allocations: 1.321 MB / 1.152 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/1.026, allocations: 195.3 kB / 1.153 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005263/1.027, allocations: 302.3 kB / 1.153 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/1.029, allocations: 0.8615 MB / 1.154 GB, free: 248 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/1.029, allocations: 3.938 kB / 1.154 GB, free: 244 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.743e-06/1.029, allocations: 0 / 1.154 GB, free: 244 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.89e-05/1.029, allocations: 0 / 1.154 GB, free: 244 kB / 0.9044 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.002669/1.031, allocations: 1.056 MB / 1.155 GB, free: 15.13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.031, allocations: 8.031 kB / 1.155 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/1.033, allocations: 218.9 kB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.034, allocations: 0.5303 MB / 1.156 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/1.034, allocations: 33 kB / 1.156 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/1.034, allocations: 47.91 kB / 1.156 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.035, allocations: 0.5474 MB / 1.156 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.035, allocations: 0 / 1.156 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/1.035, allocations: 19.98 kB / 1.156 GB, free: 13.67 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.035, allocations: 17 kB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.036, allocations: 0.4957 MB / 1.157 GB, free: 13.16 MB / 0.92 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.003546/1.04, allocations: 2.222 MB / 1.159 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/1.041, allocations: 361.6 kB / 1.159 GB, free: 10.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/1.041, allocations: 144.8 kB / 1.159 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.043, allocations: 0.8493 MB / 1.16 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/1.043, allocations: 193.9 kB / 1.16 GB, free: 9.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/1.043, allocations: 0 / 1.16 GB, free: 9.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001129/1.044, allocations: 457.8 kB / 1.161 GB, free: 8.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.044, allocations: 89.09 kB / 1.161 GB, free: 8.457 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/1.045, allocations: 0.6524 MB / 1.162 GB, free: 7.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/1.045, allocations: 37.64 kB / 1.162 GB, free: 7.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/1.045, allocations: 323.6 kB / 1.162 GB, free: 7.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/1.046, allocations: 98.64 kB / 1.162 GB, free: 7.332 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.046, allocations: 90.02 kB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.046, allocations: 362.8 kB / 1.162 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/1.046, allocations: 150.5 kB / 1.163 GB, free: 6.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/1.047, allocations: 294.3 kB / 1.163 GB, free: 6.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/1.047, allocations: 421.2 kB / 1.163 GB, free: 5.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.047, allocations: 0 / 1.163 GB, free: 5.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001178/1.049, allocations: 498.3 kB / 1.164 GB, free: 5.418 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.049, allocations: 4 kB / 1.164 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.049, allocations: 4.406 kB / 1.164 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.049, allocations: 12 kB / 1.164 GB, free: 5.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/1.049, allocations: 91.83 kB / 1.164 GB, free: 5.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/1.049, allocations: 11.98 kB / 1.164 GB, free: 5.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/1.05, allocations: 87.48 kB / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/1.05, allocations: 20 kB / 1.164 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005538/1.051, allocations: 304.9 kB / 1.164 GB, free: 4.891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005075/1.051, allocations: 298.2 kB / 1.164 GB, free: 4.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006714/1.052, allocations: 404.8 kB / 1.165 GB, free: 4.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.708e-06/1.052, allocations: 4 kB / 1.165 GB, free: 4.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001156/1.053, allocations: 492 kB / 1.165 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.053, allocations: 12.09 kB / 1.165 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.053, allocations: 4 kB / 1.165 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/1.053, allocations: 8 kB / 1.165 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/1.053, allocations: 95.81 kB / 1.165 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.053, allocations: 4 kB / 1.165 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/1.054, allocations: 75.64 kB / 1.166 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/1.054, allocations: 23.98 kB / 1.166 GB, free: 3.375 MB / 0.92 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.0002059/1.054, allocations: 212.1 kB / 1.166 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.055, allocations: 59.25 kB / 1.166 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/1.055, allocations: 341.4 kB / 1.166 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.055, allocations: 4 kB / 1.166 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.055, allocations: 0 / 1.166 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.055, allocations: 7.984 kB / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.057, allocations: 1.114 MB / 1.167 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.057, allocations: 4 kB / 1.167 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.057, allocations: 47.91 kB / 1.167 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.057, allocations: 4 kB / 1.167 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/1.058, allocations: 12.06 kB / 1.167 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.058, allocations: 8 kB / 1.167 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.058, allocations: 0 / 1.167 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/1.058, allocations: 0.6335 MB / 1.168 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/1.059, allocations: 164.2 kB / 1.168 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.059, allocations: 8 kB / 1.168 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/1.059, allocations: 31.91 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/1.059, allocations: 31.91 kB / 1.168 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.059, allocations: 12 kB / 1.168 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007025/1.06, allocations: 475 kB / 1.169 GB, free: 68 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.06, allocations: 4 kB / 1.169 GB, free: 64 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.00105/1.061, allocations: 271.6 kB / 1.169 GB, free: 15.79 MB / 0.9356 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.001392/1.062, allocations: 0.5096 MB / 1.169 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001284/1.064, allocations: 0.5199 MB / 1.17 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.064, allocations: 4 kB / 1.17 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/1.064, allocations: 141 kB / 1.17 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.066, allocations: 262.8 kB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.068, allocations: 1.383 MB / 1.172 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/1.069, allocations: 0.8981 MB / 1.173 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/1.069, allocations: 47.44 kB / 1.173 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of SimCode: time 8.01e-07/1.069, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.01708/1.086, allocations: 9.972 MB / 1.182 GB, free: 2.238 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches