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.0009944/0.0009944, allocations: 98.88 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.001192/0.001192, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.352 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.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7496, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2221/0.9717, allocations: 194.2 MB / 1.145 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006984/0.9788, allocations: 3.737 MB / 1.149 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/0.9796, allocations: 23.81 kB / 1.149 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.9808, allocations: 366.3 kB / 1.149 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.9839, allocations: 1.175 MB / 1.151 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.9858, allocations: 0.6488 MB / 1.151 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.9883, allocations: 1.847 MB / 1.153 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.9891, allocations: 424.5 kB / 1.153 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.992, allocations: 0.8929 MB / 1.154 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.9928, allocations: 470 kB / 1.155 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.9929, allocations: 20 kB / 1.155 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.9954, allocations: 1.317 MB / 1.156 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.9956, allocations: 175.4 kB / 1.156 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.9961, allocations: 320 kB / 1.156 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.9975, allocations: 0.8574 MB / 1.157 GB, free: 204 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9975, allocations: 3.938 kB / 1.157 GB, free: 200 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9975, allocations: 4 kB / 1.157 GB, free: 196 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.9975, allocations: 0 / 1.157 GB, free: 196 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.00218/0.9997, allocations: 0.9273 MB / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.9998, allocations: 12.02 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.001, allocations: 231 kB / 1.158 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.002, allocations: 0.5419 MB / 1.159 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/1.002, allocations: 33 kB / 1.159 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/1.002, allocations: 40 kB / 1.159 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.004, allocations: 0.5552 MB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.004, allocations: 0 / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/1.004, allocations: 19.97 kB / 1.16 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/1.004, allocations: 17 kB / 1.16 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/1.005, allocations: 0.5074 MB / 1.16 GB, free: 13.2 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.00339/1.008, allocations: 2.23 MB / 1.162 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/1.009, allocations: 367.8 kB / 1.163 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/1.009, allocations: 152.7 kB / 1.163 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/1.011, allocations: 0.8611 MB / 1.164 GB, free: 9.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/1.011, allocations: 205.9 kB / 1.164 GB, free: 9.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/1.011, allocations: 0 / 1.164 GB, free: 9.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001109/1.012, allocations: 461.1 kB / 1.164 GB, free: 8.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.013, allocations: 85.05 kB / 1.164 GB, free: 8.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/1.014, allocations: 0.6563 MB / 1.165 GB, free: 7.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.014, allocations: 29.7 kB / 1.165 GB, free: 7.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/1.014, allocations: 323.7 kB / 1.165 GB, free: 7.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/1.014, allocations: 94.66 kB / 1.165 GB, free: 7.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/1.014, allocations: 37.7 kB / 1.165 GB, free: 7.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.014, allocations: 366.8 kB / 1.166 GB, free: 6.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/1.015, allocations: 144.8 kB / 1.166 GB, free: 6.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/1.015, allocations: 294.2 kB / 1.166 GB, free: 6.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/1.016, allocations: 409.1 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.016, allocations: 0 / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001123/1.017, allocations: 491 kB / 1.167 GB, free: 5.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.017, allocations: 219.6 kB / 1.167 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.017, allocations: 4 kB / 1.167 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.017, allocations: 8 kB / 1.167 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/1.018, allocations: 83.89 kB / 1.167 GB, free: 5.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/1.018, allocations: 15.92 kB / 1.167 GB, free: 5.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/1.018, allocations: 91.42 kB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.018, allocations: 23.94 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/1.018, allocations: 4 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009771/1.019, allocations: 416.3 kB / 1.168 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.02, allocations: 8.062 kB / 1.168 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/1.02, allocations: 4 kB / 1.168 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/1.02, allocations: 100 kB / 1.168 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.02, allocations: 7.938 kB / 1.168 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/1.021, allocations: 71.64 kB / 1.168 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.021, allocations: 19.94 kB / 1.168 GB, free: 4.383 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.0003868/1.021, allocations: 292.9 kB / 1.168 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.021, allocations: 59.25 kB / 1.168 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/1.022, allocations: 341.1 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.022, allocations: 4 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.022, allocations: 4 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.022, allocations: 0 / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/1.024, allocations: 1.112 MB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.024, allocations: 0 / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/1.024, allocations: 43.92 kB / 1.17 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.024, allocations: 4 kB / 1.17 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/1.024, allocations: 15.92 kB / 1.17 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.024, allocations: 4 kB / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.024, allocations: 8.25 kB / 1.17 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/1.025, allocations: 0.6203 MB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.025, allocations: 176.2 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/1.025, allocations: 8 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.026, allocations: 28.05 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/1.026, allocations: 23.97 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.026, allocations: 8 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007341/1.027, allocations: 483 kB / 1.171 GB, free: 1.008 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.027, allocations: 0 / 1.171 GB, free: 1.008 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001051/1.028, allocations: 279.5 kB / 1.171 GB, free: 0.7344 MB / 0.92 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.001338/1.029, allocations: 0.5188 MB / 1.172 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.03, allocations: 0.5325 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.03, allocations: 4.188 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/1.031, allocations: 129.7 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.032, allocations: 269.9 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/1.035, allocations: 1.442 MB / 1.174 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/1.036, allocations: 0.9019 MB / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.036, allocations: 51.42 kB / 1.175 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of SimCode: time 9.41e-07/1.036, allocations: 0 / 1.175 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.01776/1.053, allocations: 9.867 MB / 1.185 GB, free: 3.188 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