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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001677/0.001677, allocations: 106.3 kB / 16.27 MB, free: 5.957 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.001843/0.001843, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437.1 MB / 0.7111 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 54.84 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3355, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.7808/1.116, allocations: 199 MB / 1.212 GB, free: 14.33 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007432/1.124, allocations: 3.735 MB / 1.216 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008712/1.125, allocations: 33.22 kB / 1.216 GB, free: 11.3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.126, allocations: 437.2 kB / 1.216 GB, free: 10.97 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/1.13, allocations: 1.255 MB / 1.218 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/1.132, allocations: 0.7347 MB / 1.218 GB, free: 9.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002096/1.134, allocations: 1.366 MB / 1.22 GB, free: 8.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/1.135, allocations: 0.4945 MB / 1.22 GB, free: 8.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/1.138, allocations: 0.9676 MB / 1.221 GB, free: 7.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/1.138, allocations: 463.2 kB / 1.222 GB, free: 7.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/1.139, allocations: 46.62 kB / 1.222 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/1.141, allocations: 1.192 MB / 1.223 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/1.141, allocations: 201.9 kB / 1.223 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/1.142, allocations: 325.8 kB / 1.223 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/1.144, allocations: 1.191 MB / 1.224 GB, free: 5.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.144, allocations: 4 kB / 1.224 GB, free: 5.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/1.144, allocations: 0 / 1.224 GB, free: 5.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.144, allocations: 0 / 1.224 GB, free: 5.781 MB / 0.92 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.002356/1.146, allocations: 1.051 MB / 1.225 GB, free: 4.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.146, allocations: 11.27 kB / 1.225 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.148, allocations: 219.4 kB / 1.226 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/1.149, allocations: 0.5304 MB / 1.226 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/1.149, allocations: 40.88 kB / 1.226 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/1.149, allocations: 44 kB / 1.226 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/1.15, allocations: 0.5435 MB / 1.227 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.15, allocations: 0 / 1.227 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/1.15, allocations: 16 kB / 1.227 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/1.15, allocations: 17 kB / 1.227 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.151, allocations: 0.4996 MB / 1.227 GB, free: 2.988 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.003521/1.155, allocations: 2.226 MB / 1.229 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/1.156, allocations: 363.8 kB / 1.23 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/1.156, allocations: 156.8 kB / 1.23 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/1.157, allocations: 0.8377 MB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/1.158, allocations: 204.9 kB / 1.231 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 5.23e-06/1.158, allocations: 3.984 kB / 1.231 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001237/1.159, allocations: 463.1 kB / 1.231 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.159, allocations: 81.11 kB / 1.232 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/1.16, allocations: 0.6486 MB / 1.232 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/1.16, allocations: 41.64 kB / 1.232 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/1.16, allocations: 319.8 kB / 1.232 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/1.161, allocations: 94.64 kB / 1.233 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/1.161, allocations: 86.03 kB / 1.233 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.161, allocations: 370.8 kB / 1.233 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/1.161, allocations: 150.5 kB / 1.233 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/1.162, allocations: 298.2 kB / 1.233 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/1.163, allocations: 409.7 kB / 1.234 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.163, allocations: 0 / 1.234 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001124/1.164, allocations: 0.491 MB / 1.234 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.164, allocations: 8.094 kB / 1.234 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.164, allocations: 4 kB / 1.234 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.164, allocations: 8 kB / 1.234 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/1.164, allocations: 92.77 kB / 1.234 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.164, allocations: 11.94 kB / 1.234 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/1.165, allocations: 83.48 kB / 1.235 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.165, allocations: 23.98 kB / 1.235 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005943/1.166, allocations: 296.9 kB / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005009/1.166, allocations: 300.1 kB / 1.235 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006913/1.167, allocations: 405.7 kB / 1.235 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/1.167, allocations: 0 / 1.235 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001097/1.168, allocations: 497 kB / 1.236 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.168, allocations: 12.06 kB / 1.236 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.168, allocations: 7.938 kB / 1.236 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/1.168, allocations: 4.875 kB / 1.236 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/1.168, allocations: 95.88 kB / 1.236 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.168, allocations: 7.938 kB / 1.236 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/1.169, allocations: 67.64 kB / 1.236 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/1.169, allocations: 20 kB / 1.236 GB, free: 9.219 MB / 0.9356 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.0002357/1.169, allocations: 212.1 kB / 1.236 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.169, allocations: 63.23 kB / 1.236 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/1.17, allocations: 343.7 kB / 1.237 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.17, allocations: 4 kB / 1.237 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.17, allocations: 0 / 1.237 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.17, allocations: 0 / 1.237 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/1.172, allocations: 1.109 MB / 1.238 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.172, allocations: 4.125 kB / 1.238 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/1.172, allocations: 48.23 kB / 1.238 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.172, allocations: 7.938 kB / 1.238 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/1.172, allocations: 11.98 kB / 1.238 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.172, allocations: 7.938 kB / 1.238 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.172, allocations: 4 kB / 1.238 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/1.173, allocations: 0.6167 MB / 1.239 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/1.173, allocations: 164.3 kB / 1.239 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/1.173, allocations: 12.06 kB / 1.239 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.174, allocations: 19.98 kB / 1.239 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/1.174, allocations: 27.91 kB / 1.239 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.174, allocations: 8 kB / 1.239 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007215/1.175, allocations: 487 kB / 1.239 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.175, allocations: 0 / 1.239 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001011/1.176, allocations: 271.5 kB / 1.239 GB, free: 5.668 MB / 0.9356 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.001868/1.178, allocations: 0.5134 MB / 1.24 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.179, allocations: 0.5496 MB / 1.241 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.179, allocations: 0 / 1.241 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/1.179, allocations: 131.8 kB / 1.241 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.181, allocations: 276.7 kB / 1.241 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/1.183, allocations: 1.214 MB / 1.242 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.183, allocations: 0.8939 MB / 1.243 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/1.184, allocations: 51.42 kB / 1.243 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/1.184, allocations: 0 / 1.243 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of Templates: time 0.01675/1.2, allocations: 9.98 MB / 1.253 GB, free: 8.23 MB / 0.9512 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=400 -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