Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.001038/0.001038, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 185.9 kB / 16.92 MB, free: 6.688 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.571/1.571, allocations: 223.3 MB / 241 MB, free: 5.32 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.491/2.491, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.757, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2149/0.972, allocations: 194.2 MB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.9788, allocations: 3.741 MB / 1.149 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009894/0.9798, allocations: 23.81 kB / 1.149 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.9812, allocations: 366.3 kB / 1.149 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.9846, allocations: 1.167 MB / 1.151 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.9867, allocations: 0.6619 MB / 1.151 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.9892, allocations: 1.839 MB / 1.153 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.9901, allocations: 423 kB / 1.153 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.9931, allocations: 0.886 MB / 1.154 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.994, allocations: 466.1 kB / 1.155 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.9941, allocations: 24 kB / 1.155 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.9968, allocations: 1.317 MB / 1.156 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.9971, allocations: 175.4 kB / 1.156 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.9976, allocations: 320 kB / 1.156 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.999, allocations: 0.8418 MB / 1.157 GB, free: 268 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9991, allocations: 4 kB / 1.157 GB, free: 264 kB / 0.9044 GB Notification: Performance of FrontEnd: time 4.308e-06/0.9991, allocations: 0 / 1.157 GB, free: 264 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.523e-05/0.9991, allocations: 3.938 kB / 1.157 GB, free: 260 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.002348/1.001, allocations: 0.9234 MB / 1.158 GB, free: 15.28 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.002, allocations: 8.031 kB / 1.158 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/1.003, allocations: 235 kB / 1.158 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/1.004, allocations: 0.5342 MB / 1.159 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/1.004, allocations: 29 kB / 1.159 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/1.004, allocations: 44 kB / 1.159 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.005, allocations: 0.5504 MB / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.005, allocations: 0 / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/1.005, allocations: 16 kB / 1.16 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/1.005, allocations: 17 kB / 1.16 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.007, allocations: 0.5191 MB / 1.16 GB, free: 13.27 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.003568/1.01, allocations: 2.235 MB / 1.162 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/1.011, allocations: 359.7 kB / 1.163 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.011, allocations: 140.7 kB / 1.163 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.013, allocations: 0.865 MB / 1.164 GB, free: 9.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/1.013, allocations: 186.9 kB / 1.164 GB, free: 9.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/1.013, allocations: 0 / 1.164 GB, free: 9.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001106/1.014, allocations: 443.4 kB / 1.164 GB, free: 8.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.014, allocations: 77.11 kB / 1.164 GB, free: 8.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.015, allocations: 0.6563 MB / 1.165 GB, free: 7.902 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/1.015, allocations: 33.7 kB / 1.165 GB, free: 7.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/1.016, allocations: 319.8 kB / 1.165 GB, free: 7.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/1.016, allocations: 90.73 kB / 1.165 GB, free: 7.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/1.016, allocations: 37.7 kB / 1.165 GB, free: 7.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.016, allocations: 374.7 kB / 1.166 GB, free: 7.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/1.016, allocations: 127.9 kB / 1.166 GB, free: 6.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/1.017, allocations: 280.9 kB / 1.166 GB, free: 6.578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/1.017, allocations: 387.8 kB / 1.166 GB, free: 6.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.017, allocations: 0 / 1.166 GB, free: 6.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/1.019, allocations: 475.1 kB / 1.167 GB, free: 5.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.019, allocations: 204 kB / 1.167 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.019, allocations: 8 kB / 1.167 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.019, allocations: 8 kB / 1.167 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/1.019, allocations: 87.83 kB / 1.167 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.019, allocations: 11.98 kB / 1.167 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/1.02, allocations: 87.48 kB / 1.167 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/1.02, allocations: 19.98 kB / 1.167 GB, free: 5.199 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/1.02, allocations: 0 / 1.167 GB, free: 5.199 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009277/1.021, allocations: 399.9 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.021, allocations: 7.938 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.021, allocations: 8.094 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/1.021, allocations: 84.03 kB / 1.168 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.021, allocations: 11.94 kB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/1.022, allocations: 67.64 kB / 1.168 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.022, allocations: 20 kB / 1.168 GB, free: 4.613 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 (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.0003914/1.022, allocations: 288.9 kB / 1.168 GB, free: 4.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.023, allocations: 59.25 kB / 1.168 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/1.023, allocations: 321.4 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.023, allocations: 4 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.023, allocations: 0 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.023, allocations: 11.98 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/1.025, allocations: 1.087 MB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.025, allocations: 4 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/1.025, allocations: 39.92 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.025, allocations: 4.062 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/1.025, allocations: 8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.025, allocations: 11.92 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.025, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/1.026, allocations: 485.2 kB / 1.17 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/1.026, allocations: 164.3 kB / 1.17 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/1.026, allocations: 8 kB / 1.17 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/1.027, allocations: 35.91 kB / 1.17 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/1.027, allocations: 23.86 kB / 1.17 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/1.027, allocations: 8 kB / 1.17 GB, free: 1.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007154/1.027, allocations: 483 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.027, allocations: 0 / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009531/1.028, allocations: 267.6 kB / 1.171 GB, free: 1.172 MB / 0.92 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.001311/1.03, allocations: 0.5107 MB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.031, allocations: 0.4957 MB / 1.172 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.031, allocations: 4.312 kB / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/1.031, allocations: 123.8 kB / 1.172 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.033, allocations: 260.9 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.035, allocations: 1.283 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.035, allocations: 0.8863 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.035, allocations: 51.42 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/1.035, allocations: 4 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.01603/1.051, allocations: 9.684 MB / 1.184 GB, free: 4.035 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches