Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001005/0.001005, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001305/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003661, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5978, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.1907/0.7885, allocations: 181.2 MB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005892/0.7944, allocations: 3.504 MB / 1.203 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.795, allocations: 27.75 kB / 1.203 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.7959, allocations: 318.3 kB / 1.203 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.7982, allocations: 0.9254 MB / 1.204 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.7998, allocations: 0.5841 MB / 1.205 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.8015, allocations: 1.562 MB / 1.206 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.8021, allocations: 382.1 kB / 1.206 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.8038, allocations: 0.7741 MB / 1.207 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.8044, allocations: 442.2 kB / 1.208 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.8045, allocations: 20 kB / 1.208 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.8061, allocations: 0.8069 MB / 1.208 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.8063, allocations: 171.4 kB / 1.209 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.8065, allocations: 153.3 kB / 1.209 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.8074, allocations: 0.8028 MB / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8075, allocations: 0 / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8075, allocations: 0 / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8075, allocations: 0 / 1.21 GB, free: 15.92 MB / 0.9669 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.002008/0.8095, allocations: 0.9467 MB / 1.21 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8095, allocations: 12.02 kB / 1.21 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.8108, allocations: 234.9 kB / 1.211 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.8116, allocations: 0.5152 MB / 1.211 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.8117, allocations: 29 kB / 1.211 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.8118, allocations: 40 kB / 1.211 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.8129, allocations: 0.5474 MB / 1.212 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8129, allocations: 0 / 1.212 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.813, allocations: 23.98 kB / 1.212 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.813, allocations: 21 kB / 1.212 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.8142, allocations: 0.5113 MB / 1.212 GB, free: 12.93 MB / 0.9669 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.003111/0.8173, allocations: 2.234 MB / 1.215 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.818, allocations: 363.9 kB / 1.215 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.8183, allocations: 145.7 kB / 1.215 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.8196, allocations: 0.8611 MB / 1.216 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.8199, allocations: 206.1 kB / 1.216 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.82, allocations: 0 / 1.216 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001033/0.821, allocations: 451 kB / 1.216 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.8211, allocations: 89.05 kB / 1.217 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.8219, allocations: 0.6524 MB / 1.217 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.822, allocations: 37.7 kB / 1.217 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.8222, allocations: 307.9 kB / 1.218 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.8223, allocations: 98.64 kB / 1.218 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.8223, allocations: 4 kB / 1.218 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8225, allocations: 374.8 kB / 1.218 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.8229, allocations: 140.8 kB / 1.218 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.8233, allocations: 290.2 kB / 1.218 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.8237, allocations: 181.4 kB / 1.219 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8237, allocations: 0 / 1.219 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001003/0.8247, allocations: 497.3 kB / 1.219 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8249, allocations: 211 kB / 1.219 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8249, allocations: 4 kB / 1.219 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8249, allocations: 8 kB / 1.219 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.8254, allocations: 91.83 kB / 1.219 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.8254, allocations: 15.98 kB / 1.219 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.826, allocations: 83.48 kB / 1.219 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.8261, allocations: 20 kB / 1.219 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.8261, allocations: 4 kB / 1.219 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008866/0.827, allocations: 420 kB / 1.22 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.827, allocations: 8.062 kB / 1.22 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.827, allocations: 7.938 kB / 1.22 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.8274, allocations: 87.89 kB / 1.22 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.8274, allocations: 7.938 kB / 1.22 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.8279, allocations: 79.5 kB / 1.22 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.828, allocations: 20 kB / 1.22 GB, free: 4.461 MB / 0.9669 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 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.8283, allocations: 285 kB / 1.22 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.8284, allocations: 63.25 kB / 1.22 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/0.829, allocations: 339.6 kB / 1.221 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.829, allocations: 0 / 1.221 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8291, allocations: 4 kB / 1.221 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.8291, allocations: 3.953 kB / 1.221 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.8306, allocations: 1.107 MB / 1.222 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8306, allocations: 4 kB / 1.222 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.8309, allocations: 52.28 kB / 1.222 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.8309, allocations: 8 kB / 1.222 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.8309, allocations: 12 kB / 1.222 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.8309, allocations: 7.938 kB / 1.222 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.831, allocations: 3.984 kB / 1.222 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.8318, allocations: 0.6272 MB / 1.222 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.832, allocations: 168.3 kB / 1.223 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.8321, allocations: 12.06 kB / 1.223 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.8324, allocations: 31.97 kB / 1.223 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.8325, allocations: 19.88 kB / 1.223 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.8325, allocations: 20 kB / 1.223 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006161/0.8332, allocations: 471 kB / 1.223 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8332, allocations: 0 / 1.223 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009021/0.8341, allocations: 279.5 kB / 1.223 GB, free: 0.8086 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.8353, allocations: 0.5067 MB / 1.224 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.8365, allocations: 0.5259 MB / 1.224 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8365, allocations: 0 / 1.224 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.8367, allocations: 133 kB / 1.225 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8381, allocations: 265.7 kB / 1.225 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.8407, allocations: 1.369 MB / 1.226 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.8413, allocations: 0.8981 MB / 1.227 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007494/0.8421, allocations: 168.9 kB / 1.227 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.8422, allocations: 51.42 kB / 1.227 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.8422, allocations: 0 / 1.227 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.01828/0.8605, allocations: 9.957 MB / 1.237 GB, free: 3.172 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches