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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004923/0.004923, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001144/0.001144, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.03 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.9829/1.269, allocations: 199 MB / 1.282 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007866/1.277, allocations: 3.748 MB / 1.286 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/1.278, allocations: 26.62 kB / 1.286 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/1.28, allocations: 436.8 kB / 1.286 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/1.284, allocations: 1.254 MB / 1.288 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/1.286, allocations: 0.7549 MB / 1.288 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002323/1.289, allocations: 1.362 MB / 1.29 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008343/1.29, allocations: 489.1 kB / 1.29 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/1.293, allocations: 0.9708 MB / 1.291 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009356/1.294, allocations: 463.3 kB / 1.291 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/1.294, allocations: 42.62 kB / 1.292 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/1.297, allocations: 1.189 MB / 1.293 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/1.298, allocations: 197.2 kB / 1.293 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004734/1.298, allocations: 328.6 kB / 1.293 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/1.301, allocations: 1.195 MB / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.301, allocations: 5.375 kB / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/1.301, allocations: 0 / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.301, allocations: 0 / 1.294 GB, free: 3.137 MB / 1.014 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.002301/1.303, allocations: 1.051 MB / 1.295 GB, free: 2.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.303, allocations: 9.438 kB / 1.295 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.304, allocations: 218.4 kB / 1.296 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/1.305, allocations: 0.5662 MB / 1.296 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/1.306, allocations: 32.09 kB / 1.296 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/1.306, allocations: 38 kB / 1.296 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.307, allocations: 0.5437 MB / 1.297 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.307, allocations: 2 kB / 1.297 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/1.307, allocations: 14.78 kB / 1.297 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.307, allocations: 18.09 kB / 1.297 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.308, allocations: 0.5031 MB / 1.297 GB, free: 2.074 MB / 1.014 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.003434/1.312, allocations: 2.214 MB / 1.299 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/1.313, allocations: 354.5 kB / 1.3 GB, free: 16.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/1.313, allocations: 144.3 kB / 1.3 GB, free: 16.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/1.314, allocations: 0.8396 MB / 1.301 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/1.315, allocations: 189.1 kB / 1.301 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/1.315, allocations: 2.312 kB / 1.301 GB, free: 15.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.001084/1.316, allocations: 441.9 kB / 1.301 GB, free: 15.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.316, allocations: 83.98 kB / 1.301 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.317, allocations: 0.6587 MB / 1.302 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/1.317, allocations: 36.8 kB / 1.302 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.317, allocations: 317.3 kB / 1.302 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/1.317, allocations: 90.5 kB / 1.302 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.318, allocations: 76.62 kB / 1.303 GB, free: 15.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.318, allocations: 372.6 kB / 1.303 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/1.318, allocations: 135.7 kB / 1.303 GB, free: 14.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/1.319, allocations: 282 kB / 1.303 GB, free: 14.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/1.319, allocations: 382.7 kB / 1.304 GB, free: 14.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.319, allocations: 4.188 kB / 1.304 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001023/1.32, allocations: 474.3 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.32, allocations: 7.75 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.32, allocations: 4.438 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.32, allocations: 6.375 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/1.321, allocations: 90.64 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.321, allocations: 10.78 kB / 1.304 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/1.322, allocations: 78.33 kB / 1.304 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/1.322, allocations: 19.56 kB / 1.304 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005305/1.322, allocations: 292.6 kB / 1.305 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004609/1.323, allocations: 280.2 kB / 1.305 GB, free: 14.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006498/1.323, allocations: 382.1 kB / 1.305 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/1.323, allocations: 2.406 kB / 1.305 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001037/1.324, allocations: 483.2 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.324, allocations: 6.469 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.324, allocations: 7.156 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.324, allocations: 8.203 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/1.325, allocations: 87.88 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.325, allocations: 10.05 kB / 1.306 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/1.325, allocations: 62.45 kB / 1.306 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/1.325, allocations: 20.11 kB / 1.306 GB, free: 14.08 MB / 1.029 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.0001876/1.326, allocations: 212.7 kB / 1.306 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.326, allocations: 60.02 kB / 1.306 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/1.326, allocations: 320.2 kB / 1.306 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.326, allocations: 3.344 kB / 1.306 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.326, allocations: 2.031 kB / 1.306 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.326, allocations: 1.406 kB / 1.306 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.328, allocations: 1.088 MB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.328, allocations: 6.016 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/1.329, allocations: 37.64 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.329, allocations: 8.281 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/1.329, allocations: 8.438 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.329, allocations: 4.281 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.329, allocations: 9.5 kB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/1.329, allocations: 482.9 kB / 1.308 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/1.33, allocations: 165.6 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/1.33, allocations: 10.38 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/1.33, allocations: 18.39 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/1.33, allocations: 23.12 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.33, allocations: 17.03 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008567/1.331, allocations: 476.5 kB / 1.309 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.331, allocations: 0 / 1.309 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001642/1.333, allocations: 265.4 kB / 1.309 GB, free: 12.83 MB / 1.029 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.001504/1.334, allocations: 0.4975 MB / 1.309 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.336, allocations: 0.507 MB / 1.31 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.336, allocations: 1.062 kB / 1.31 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/1.336, allocations: 126.6 kB / 1.31 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.337, allocations: 284.8 kB / 1.31 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/1.34, allocations: 1.017 MB / 1.311 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/1.34, allocations: 0.8985 MB / 1.312 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006867/1.341, allocations: 172.8 kB / 1.312 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/1.341, allocations: 48.12 kB / 1.312 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.341, allocations: 0 / 1.312 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Templates: time 0.01854/1.36, allocations: 10.47 MB / 1.323 GB, free: 10.68 MB / 1.029 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/jenkins/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