Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.001151/0.001151, allocations: 103 kB / 16.35 MB, free: 5.824 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.001082/0.001083, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.471/2.471, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.09 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.7837/1.11, allocations: 199 MB / 1.213 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008835/1.118, allocations: 3.748 MB / 1.217 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/1.12, allocations: 28.91 kB / 1.217 GB, free: 10.94 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.121, allocations: 433.3 kB / 1.217 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/1.125, allocations: 1.251 MB / 1.218 GB, free: 9.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.127, allocations: 0.7514 MB / 1.219 GB, free: 9.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002159/1.13, allocations: 1.353 MB / 1.22 GB, free: 8.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009728/1.131, allocations: 495.6 kB / 1.221 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/1.133, allocations: 0.9762 MB / 1.222 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009977/1.134, allocations: 464.6 kB / 1.222 GB, free: 7.168 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/1.135, allocations: 42.5 kB / 1.222 GB, free: 7.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/1.137, allocations: 1.192 MB / 1.224 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/1.138, allocations: 197.7 kB / 1.224 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005701/1.138, allocations: 328 kB / 1.224 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/1.141, allocations: 1.188 MB / 1.225 GB, free: 5.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.141, allocations: 2.75 kB / 1.225 GB, free: 5.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/1.141, allocations: 0 / 1.225 GB, free: 5.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.488e-05/1.141, allocations: 0 / 1.225 GB, free: 5.418 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.002705/1.144, allocations: 1.05 MB / 1.226 GB, free: 4.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.144, allocations: 8.031 kB / 1.226 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/1.145, allocations: 222.9 kB / 1.226 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.146, allocations: 0.5616 MB / 1.227 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/1.146, allocations: 32.94 kB / 1.227 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/1.146, allocations: 40 kB / 1.227 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.147, allocations: 0.5426 MB / 1.228 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.147, allocations: 4 kB / 1.228 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/1.147, allocations: 12 kB / 1.228 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/1.147, allocations: 17 kB / 1.228 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/1.148, allocations: 0.5035 MB / 1.228 GB, free: 2.359 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.003348/1.152, allocations: 2.223 MB / 1.23 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/1.153, allocations: 348.4 kB / 1.231 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/1.153, allocations: 144.7 kB / 1.231 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.154, allocations: 0.8338 MB / 1.232 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/1.154, allocations: 199.1 kB / 1.232 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 3.697e-06/1.154, allocations: 0 / 1.232 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.001139/1.156, allocations: 441.9 kB / 1.232 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.156, allocations: 81.05 kB / 1.232 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/1.157, allocations: 0.6564 MB / 1.233 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/1.157, allocations: 29.7 kB / 1.233 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/1.157, allocations: 319.8 kB / 1.233 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/1.157, allocations: 90.69 kB / 1.233 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.157, allocations: 77.59 kB / 1.233 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.157, allocations: 370.8 kB / 1.234 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.158, allocations: 144.8 kB / 1.234 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/1.158, allocations: 284.9 kB / 1.234 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/1.159, allocations: 388.9 kB / 1.235 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.159, allocations: 0 / 1.235 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/1.16, allocations: 475.2 kB / 1.235 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.16, allocations: 14.8 kB / 1.235 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.16, allocations: 4 kB / 1.235 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.16, allocations: 8.031 kB / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/1.16, allocations: 95.2 kB / 1.235 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.16, allocations: 4 kB / 1.235 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/1.161, allocations: 79.52 kB / 1.235 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/1.161, allocations: 20 kB / 1.235 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005259/1.162, allocations: 292 kB / 1.235 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004267/1.162, allocations: 281.7 kB / 1.236 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005772/1.163, allocations: 384 kB / 1.236 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.163, allocations: 0 / 1.236 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009419/1.164, allocations: 473.9 kB / 1.237 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.164, allocations: 8.031 kB / 1.237 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/1.164, allocations: 4 kB / 1.237 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/1.164, allocations: 8 kB / 1.237 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/1.164, allocations: 83.89 kB / 1.237 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.164, allocations: 13.03 kB / 1.237 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/1.165, allocations: 59.7 kB / 1.237 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/1.165, allocations: 23.94 kB / 1.237 GB, free: 8.812 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 (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.0001628/1.165, allocations: 212.1 kB / 1.237 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/1.165, allocations: 59.34 kB / 1.237 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/1.166, allocations: 324.9 kB / 1.237 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.166, allocations: 4 kB / 1.237 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.166, allocations: 0 / 1.237 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.166, allocations: 3.984 kB / 1.237 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/1.167, allocations: 1.089 MB / 1.238 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.167, allocations: 7.984 kB / 1.238 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/1.167, allocations: 31.98 kB / 1.238 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.167, allocations: 8.312 kB / 1.238 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.167, allocations: 12 kB / 1.238 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/1.167, allocations: 8.812 kB / 1.238 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.167, allocations: 0 / 1.238 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/1.168, allocations: 477.3 kB / 1.239 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/1.168, allocations: 160.3 kB / 1.239 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/1.168, allocations: 19.92 kB / 1.239 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/1.169, allocations: 19.98 kB / 1.239 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/1.169, allocations: 27.86 kB / 1.239 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/1.169, allocations: 9.125 kB / 1.239 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006569/1.169, allocations: 483 kB / 1.24 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.1e-07/1.169, allocations: 0 / 1.24 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009467/1.17, allocations: 267.6 kB / 1.24 GB, free: 5.469 MB / 0.9356 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.001327/1.172, allocations: 0.5083 MB / 1.24 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.173, allocations: 0.4939 MB / 1.241 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.173, allocations: 4.062 kB / 1.241 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/1.173, allocations: 127.8 kB / 1.241 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.175, allocations: 283.8 kB / 1.241 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.177, allocations: 1.03 MB / 1.242 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/1.177, allocations: 0.8902 MB / 1.243 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005997/1.178, allocations: 172.8 kB / 1.243 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.178, allocations: 51.42 kB / 1.243 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of SimCode: time 1.112e-06/1.178, allocations: 0 / 1.243 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of Templates: time 0.01934/1.197, allocations: 10.39 MB / 1.253 GB, free: 7.773 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches