Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_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_latest_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_latest_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.001432/0.001432, allocations: 103 kB / 16.41 MB, free: 6.512 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.001558/0.001558, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9136/0.9152, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2184/1.134, allocations: 199 MB / 1.403 GB, free: 6.051 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006961/1.141, allocations: 3.751 MB / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/1.142, allocations: 23.88 kB / 1.406 GB, free: 2.266 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/1.143, allocations: 433.5 kB / 1.407 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003666/1.147, allocations: 1.252 MB / 1.408 GB, free: 0.582 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/1.149, allocations: 0.7507 MB / 1.409 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002229/1.151, allocations: 1.364 MB / 1.41 GB, free: 14.47 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009823/1.152, allocations: 498.6 kB / 1.411 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/1.156, allocations: 0.9993 MB / 1.412 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/1.157, allocations: 458.1 kB / 1.412 GB, free: 12.53 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/1.157, allocations: 44 kB / 1.412 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/1.159, allocations: 1.189 MB / 1.413 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/1.16, allocations: 203.3 kB / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005826/1.16, allocations: 326.3 kB / 1.414 GB, free: 10.78 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/1.163, allocations: 1.204 MB / 1.415 GB, free: 9.57 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.163, allocations: 4 kB / 1.415 GB, free: 9.566 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.474e-06/1.163, allocations: 4 kB / 1.415 GB, free: 9.562 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.201e-05/1.163, allocations: 0 / 1.415 GB, free: 9.562 MB / 1.139 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.002647/1.165, allocations: 1.052 MB / 1.416 GB, free: 8.461 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.166, allocations: 12.03 kB / 1.416 GB, free: 8.449 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.167, allocations: 215 kB / 1.416 GB, free: 8.238 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.168, allocations: 0.5731 MB / 1.417 GB, free: 7.625 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/1.168, allocations: 32.98 kB / 1.417 GB, free: 7.594 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/1.168, allocations: 40 kB / 1.417 GB, free: 7.555 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.169, allocations: 0.5474 MB / 1.417 GB, free: 6.984 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.169, allocations: 4 kB / 1.417 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/1.169, allocations: 23.98 kB / 1.417 GB, free: 6.957 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/1.169, allocations: 13 kB / 1.417 GB, free: 6.945 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.171, allocations: 0.4996 MB / 1.418 GB, free: 6.445 MB / 1.139 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.174, allocations: 2.214 MB / 1.42 GB, free: 4.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/1.175, allocations: 363.9 kB / 1.42 GB, free: 3.672 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/1.175, allocations: 144.8 kB / 1.42 GB, free: 3.527 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.177, allocations: 0.8377 MB / 1.421 GB, free: 2.523 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/1.177, allocations: 204.9 kB / 1.421 GB, free: 2.305 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 4.328e-06/1.177, allocations: 0 / 1.421 GB, free: 2.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001138/1.178, allocations: 467.1 kB / 1.422 GB, free: 1.844 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.178, allocations: 81.11 kB / 1.422 GB, free: 1.746 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/1.179, allocations: 0.6563 MB / 1.423 GB, free: 1.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/1.179, allocations: 33.64 kB / 1.423 GB, free: 1.043 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/1.18, allocations: 323.8 kB / 1.423 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/1.18, allocations: 94.64 kB / 1.423 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.18, allocations: 78.12 kB / 1.423 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.18, allocations: 370.8 kB / 1.424 GB, free: 180 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/1.18, allocations: 150.5 kB / 1.424 GB, free: 28 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/1.181, allocations: 298.3 kB / 1.424 GB, free: 15.67 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/1.182, allocations: 404.6 kB / 1.424 GB, free: 15.22 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.182, allocations: 0 / 1.424 GB, free: 15.22 MB / 1.154 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001113/1.183, allocations: 0.4886 MB / 1.425 GB, free: 14.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.183, allocations: 11.98 kB / 1.425 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.183, allocations: 4 kB / 1.425 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.183, allocations: 8 kB / 1.425 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/1.183, allocations: 91.98 kB / 1.425 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.183, allocations: 12 kB / 1.425 GB, free: 14.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/1.184, allocations: 79.39 kB / 1.425 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.184, allocations: 24 kB / 1.425 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005459/1.185, allocations: 300.9 kB / 1.425 GB, free: 14.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004765/1.185, allocations: 302.2 kB / 1.426 GB, free: 13.85 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006469/1.186, allocations: 399.1 kB / 1.426 GB, free: 13.4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.971e-06/1.186, allocations: 3.938 kB / 1.426 GB, free: 13.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001078/1.187, allocations: 496 kB / 1.426 GB, free: 12.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.187, allocations: 8 kB / 1.426 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.187, allocations: 4 kB / 1.426 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.187, allocations: 4 kB / 1.426 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/1.187, allocations: 99.81 kB / 1.427 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.187, allocations: 8.156 kB / 1.427 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/1.188, allocations: 63.64 kB / 1.427 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/1.188, allocations: 20 kB / 1.427 GB, free: 12.71 MB / 1.154 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.000188/1.188, allocations: 216.3 kB / 1.427 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.188, allocations: 67.22 kB / 1.427 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006913/1.189, allocations: 337.5 kB / 1.427 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.189, allocations: 8 kB / 1.427 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.189, allocations: 3.938 kB / 1.427 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.189, allocations: 0 / 1.427 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.191, allocations: 1.12 MB / 1.428 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.191, allocations: 4 kB / 1.428 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/1.191, allocations: 47.86 kB / 1.428 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.191, allocations: 4 kB / 1.428 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1.191, allocations: 8 kB / 1.428 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.191, allocations: 7.984 kB / 1.428 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.191, allocations: 4 kB / 1.428 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/1.192, allocations: 0.6286 MB / 1.429 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/1.192, allocations: 164.3 kB / 1.429 GB, free: 9.934 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/1.192, allocations: 8 kB / 1.429 GB, free: 9.926 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/1.193, allocations: 19.98 kB / 1.429 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/1.193, allocations: 31.91 kB / 1.429 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/1.193, allocations: 12 kB / 1.429 GB, free: 9.863 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006773/1.193, allocations: 475 kB / 1.43 GB, free: 9.402 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.193, allocations: 0 / 1.43 GB, free: 9.402 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009579/1.194, allocations: 271.6 kB / 1.43 GB, free: 9.137 MB / 1.154 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.001355/1.196, allocations: 0.5087 MB / 1.43 GB, free: 8.785 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001301/1.197, allocations: 0.5403 MB / 1.431 GB, free: 8.246 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.197, allocations: 0 / 1.431 GB, free: 8.246 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/1.197, allocations: 132.8 kB / 1.431 GB, free: 8.117 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.199, allocations: 292 kB / 1.431 GB, free: 7.844 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/1.201, allocations: 1.186 MB / 1.433 GB, free: 6.594 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/1.202, allocations: 0.8939 MB / 1.433 GB, free: 5.672 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/1.202, allocations: 51.42 kB / 1.433 GB, free: 5.621 MB / 1.154 GB Notification: Performance of SimCode: time 2.525e-06/1.202, allocations: 4 kB / 1.433 GB, free: 5.617 MB / 1.154 GB Notification: Performance of Templates: time 0.01656/1.218, allocations: 10.02 MB / 1.443 GB, free: 11.69 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches