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.0008898/0.0008895, allocations: 92.62 kB / 16.02 MB, free: 80 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.001241/0.001241, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.285 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.65/2.65, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 11.94 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.765/0.7654, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2006/0.9661, allocations: 194.2 MB / 1.213 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00677/0.9729, allocations: 3.735 MB / 1.217 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008655/0.9738, allocations: 19.88 kB / 1.217 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.975, allocations: 370.2 kB / 1.217 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.9784, allocations: 1.175 MB / 1.218 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.9804, allocations: 0.6627 MB / 1.219 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.9828, allocations: 1.843 MB / 1.221 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.9835, allocations: 423 kB / 1.221 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.9861, allocations: 0.8762 MB / 1.222 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.9869, allocations: 466.1 kB / 1.223 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.987, allocations: 24 kB / 1.223 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.9894, allocations: 1.321 MB / 1.224 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.9896, allocations: 179.4 kB / 1.224 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.99, allocations: 328 kB / 1.224 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.9912, allocations: 0.8496 MB / 1.225 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9912, allocations: 0 / 1.225 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9912, allocations: 0 / 1.225 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9913, allocations: 4 kB / 1.225 GB, free: 0.6914 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.002021/0.9933, allocations: 0.9351 MB / 1.226 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9933, allocations: 16.02 kB / 1.226 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.9947, allocations: 230.9 kB / 1.226 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.9955, allocations: 0.542 MB / 1.227 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.9956, allocations: 33 kB / 1.227 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.9956, allocations: 43.94 kB / 1.227 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.9967, allocations: 0.5474 MB / 1.228 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.9967, allocations: 0 / 1.228 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.9968, allocations: 23.97 kB / 1.228 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.9968, allocations: 25 kB / 1.228 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.998, allocations: 0.5074 MB / 1.228 GB, free: 13.68 MB / 0.9825 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.00311/1.001, allocations: 2.222 MB / 1.23 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/1.002, allocations: 367.8 kB / 1.231 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/1.002, allocations: 148.8 kB / 1.231 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.003, allocations: 0.8611 MB / 1.232 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/1.004, allocations: 202.1 kB / 1.232 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/1.004, allocations: 0 / 1.232 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.001062/1.005, allocations: 455.6 kB / 1.232 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.005, allocations: 89.11 kB / 1.232 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008614/1.006, allocations: 0.6485 MB / 1.233 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.006, allocations: 37.7 kB / 1.233 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.006, allocations: 311.8 kB / 1.233 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/1.006, allocations: 106.6 kB / 1.233 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/1.006, allocations: 41.7 kB / 1.233 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.006, allocations: 370.8 kB / 1.234 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/1.007, allocations: 140.7 kB / 1.234 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/1.007, allocations: 298.3 kB / 1.234 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/1.008, allocations: 414.5 kB / 1.235 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.008, allocations: 0 / 1.235 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001006/1.009, allocations: 0.4888 MB / 1.235 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.009, allocations: 212.6 kB / 1.235 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.009, allocations: 4 kB / 1.235 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.009, allocations: 4 kB / 1.235 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/1.01, allocations: 91.89 kB / 1.235 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.01, allocations: 11.92 kB / 1.235 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/1.01, allocations: 87.48 kB / 1.235 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/1.01, allocations: 20 kB / 1.235 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/1.01, allocations: 4 kB / 1.235 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008868/1.011, allocations: 422.4 kB / 1.236 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.011, allocations: 4 kB / 1.236 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/1.011, allocations: 8 kB / 1.236 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/1.012, allocations: 95.77 kB / 1.236 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.012, allocations: 8 kB / 1.236 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/1.012, allocations: 67.8 kB / 1.236 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.012, allocations: 20 kB / 1.236 GB, free: 4.883 MB / 0.9825 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.0003345/1.012, allocations: 296.9 kB / 1.236 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/1.013, allocations: 63.19 kB / 1.236 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/1.013, allocations: 339.5 kB / 1.237 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.013, allocations: 4 kB / 1.237 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.013, allocations: 0 / 1.237 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.013, allocations: 0 / 1.237 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.015, allocations: 1.12 MB / 1.238 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.015, allocations: 8.031 kB / 1.238 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/1.015, allocations: 39.92 kB / 1.238 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/1.015, allocations: 4 kB / 1.238 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.015, allocations: 15.92 kB / 1.238 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/1.015, allocations: 7.938 kB / 1.238 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.015, allocations: 4 kB / 1.238 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/1.016, allocations: 0.6216 MB / 1.239 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/1.016, allocations: 172.2 kB / 1.239 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/1.016, allocations: 11.94 kB / 1.239 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/1.016, allocations: 23.98 kB / 1.239 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/1.017, allocations: 32.16 kB / 1.239 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.017, allocations: 8 kB / 1.239 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006266/1.017, allocations: 475 kB / 1.239 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 0 / 1.239 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009151/1.018, allocations: 279.5 kB / 1.239 GB, free: 1.223 MB / 0.9825 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.001225/1.019, allocations: 0.5118 MB / 1.24 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.021, allocations: 0.5359 MB / 1.241 GB, free: 344 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.021, allocations: 0 / 1.241 GB, free: 344 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/1.021, allocations: 136.8 kB / 1.241 GB, free: 208 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.022, allocations: 268.8 kB / 1.241 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/1.025, allocations: 1.435 MB / 1.242 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/1.025, allocations: 0.8981 MB / 1.243 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.025, allocations: 47.42 kB / 1.243 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of SimCode: time 6.12e-07/1.025, allocations: 0 / 1.243 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.01583/1.041, allocations: 9.861 MB / 1.253 GB, free: 3.695 MB / 0.9981 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/jenkins1/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