Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001266/0.001267, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001192/0.001192, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.53 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.8651/1.177, allocations: 199 MB / 1.221 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007188/1.184, allocations: 3.738 MB / 1.225 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/1.186, allocations: 27.31 kB / 1.225 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/1.187, allocations: 446.5 kB / 1.225 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003803/1.191, allocations: 1.246 MB / 1.226 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/1.193, allocations: 0.7505 MB / 1.227 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002215/1.196, allocations: 1.355 MB / 1.228 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008151/1.196, allocations: 492.1 kB / 1.229 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/1.199, allocations: 0.9762 MB / 1.23 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/1.2, allocations: 466.1 kB / 1.23 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/1.2, allocations: 40 kB / 1.23 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/1.202, allocations: 1.189 MB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/1.203, allocations: 195.4 kB / 1.232 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/1.203, allocations: 330.2 kB / 1.232 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/1.205, allocations: 1.188 MB / 1.233 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.205, allocations: 0 / 1.233 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/1.205, allocations: 0 / 1.233 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.205, allocations: 4 kB / 1.233 GB, free: 10.02 MB / 0.9356 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.002254/1.207, allocations: 1.052 MB / 1.234 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.207, allocations: 11.97 kB / 1.234 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/1.209, allocations: 218.9 kB / 1.234 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.21, allocations: 0.5654 MB / 1.235 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/1.21, allocations: 32.94 kB / 1.235 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/1.21, allocations: 43.98 kB / 1.235 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.211, allocations: 0.5349 MB / 1.236 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.211, allocations: 0 / 1.236 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/1.211, allocations: 16 kB / 1.236 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/1.211, allocations: 17 kB / 1.236 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.212, allocations: 0.5074 MB / 1.236 GB, free: 6.906 MB / 0.9356 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.003685/1.216, allocations: 2.219 MB / 1.238 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/1.217, allocations: 351.7 kB / 1.239 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/1.217, allocations: 140.8 kB / 1.239 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.218, allocations: 0.8377 MB / 1.24 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/1.219, allocations: 198.8 kB / 1.24 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/1.219, allocations: 0 / 1.24 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.001113/1.22, allocations: 437.8 kB / 1.24 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.22, allocations: 81.11 kB / 1.24 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/1.221, allocations: 0.6525 MB / 1.241 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/1.221, allocations: 29.7 kB / 1.241 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/1.221, allocations: 323.8 kB / 1.241 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/1.221, allocations: 86.75 kB / 1.241 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/1.222, allocations: 81.58 kB / 1.241 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.222, allocations: 370.8 kB / 1.242 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/1.222, allocations: 136.8 kB / 1.242 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/1.223, allocations: 292.9 kB / 1.242 GB, free: 200 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/1.223, allocations: 381.2 kB / 1.242 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.223, allocations: 7.938 kB / 1.242 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001009/1.224, allocations: 473.6 kB / 1.243 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.224, allocations: 8.469 kB / 1.243 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.224, allocations: 8 kB / 1.243 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.224, allocations: 4.875 kB / 1.243 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/1.225, allocations: 87.89 kB / 1.243 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.225, allocations: 7.938 kB / 1.243 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/1.225, allocations: 79.48 kB / 1.243 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.225, allocations: 17.56 kB / 1.243 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005512/1.226, allocations: 300 kB / 1.243 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004521/1.226, allocations: 278.4 kB / 1.244 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000642/1.227, allocations: 385 kB / 1.244 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.227, allocations: 0 / 1.244 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009768/1.228, allocations: 474.6 kB / 1.244 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.228, allocations: 4 kB / 1.244 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.228, allocations: 5.531 kB / 1.245 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.228, allocations: 12 kB / 1.245 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/1.229, allocations: 91.77 kB / 1.245 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.229, allocations: 8 kB / 1.245 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.229, allocations: 63.7 kB / 1.245 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.229, allocations: 19.98 kB / 1.245 GB, free: 13.36 MB / 0.9512 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.0002244/1.229, allocations: 216 kB / 1.245 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/1.23, allocations: 59.25 kB / 1.245 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/1.23, allocations: 332.8 kB / 1.245 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.23, allocations: 0 / 1.245 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.23, allocations: 4 kB / 1.245 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.23, allocations: 0 / 1.245 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.232, allocations: 1.091 MB / 1.246 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.232, allocations: 8 kB / 1.246 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.232, allocations: 35.92 kB / 1.246 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.232, allocations: 4 kB / 1.246 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/1.232, allocations: 12.31 kB / 1.246 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.232, allocations: 4 kB / 1.246 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.232, allocations: 4 kB / 1.246 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/1.233, allocations: 478.2 kB / 1.247 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/1.233, allocations: 160.2 kB / 1.247 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/1.233, allocations: 8 kB / 1.247 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/1.233, allocations: 23.98 kB / 1.247 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/1.233, allocations: 27.86 kB / 1.247 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.233, allocations: 11.98 kB / 1.247 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006485/1.234, allocations: 479 kB / 1.248 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 4 kB / 1.248 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008741/1.235, allocations: 267.6 kB / 1.248 GB, free: 10.01 MB / 0.9512 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.001284/1.236, allocations: 0.5039 MB / 1.248 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001155/1.237, allocations: 0.5032 MB / 1.249 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.237, allocations: 4.438 kB / 1.249 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/1.238, allocations: 131.7 kB / 1.249 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/1.239, allocations: 267.5 kB / 1.249 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.241, allocations: 1.026 MB / 1.25 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/1.241, allocations: 0.8977 MB / 1.251 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005788/1.242, allocations: 168.8 kB / 1.251 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.242, allocations: 43.44 kB / 1.251 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/1.242, allocations: 0 / 1.251 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.01906/1.261, allocations: 10.39 MB / 1.261 GB, free: 12.32 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches