Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008104/0.008104, allocations: 100 kB / 15.73 MB, free: 6.062 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.001922/0.001922, allocations: 194 kB / 16.67 MB, free: 5.973 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3434, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.987/1.33, allocations: 199.5 MB / 1.415 GB, free: 8.898 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007798/1.338, allocations: 3.758 MB / 1.419 GB, free: 5.871 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/1.339, allocations: 27.84 kB / 1.419 GB, free: 5.859 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/1.341, allocations: 446.7 kB / 1.42 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004323/1.345, allocations: 1.307 MB / 1.421 GB, free: 4.539 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.348, allocations: 0.7463 MB / 1.422 GB, free: 3.988 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003/1.351, allocations: 1.366 MB / 1.423 GB, free: 3.195 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/1.352, allocations: 422.5 kB / 1.423 GB, free: 2.914 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/1.355, allocations: 1.004 MB / 1.424 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/1.356, allocations: 467.7 kB / 1.425 GB, free: 2.035 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/1.356, allocations: 44.5 kB / 1.425 GB, free: 2.035 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/1.358, allocations: 1.197 MB / 1.426 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/1.359, allocations: 207.8 kB / 1.426 GB, free: 1.227 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/1.359, allocations: 321 kB / 1.426 GB, free: 1.023 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/1.361, allocations: 1.212 MB / 1.428 GB, free: 264 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.361, allocations: 0 / 1.428 GB, free: 264 kB / 1.107 GB Notification: Performance of FrontEnd: time 3.507e-06/1.361, allocations: 2.469 kB / 1.428 GB, free: 264 kB / 1.107 GB Notification: Performance of Transformations before backend: time 1.653e-05/1.361, allocations: 0 / 1.428 GB, free: 264 kB / 1.107 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.002602/1.364, allocations: 1.088 MB / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.364, allocations: 7.094 kB / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.365, allocations: 222.7 kB / 1.429 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/1.366, allocations: 0.5661 MB / 1.429 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/1.366, allocations: 35.06 kB / 1.429 GB, free: 14.76 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/1.367, allocations: 43.94 kB / 1.43 GB, free: 14.74 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.368, allocations: 0.547 MB / 1.43 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.368, allocations: 0 / 1.43 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/1.368, allocations: 17.31 kB / 1.43 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/1.368, allocations: 16.31 kB / 1.43 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/1.369, allocations: 0.4982 MB / 1.431 GB, free: 14.09 MB / 1.123 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.003237/1.372, allocations: 2.23 MB / 1.433 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/1.373, allocations: 357.9 kB / 1.433 GB, free: 11.32 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/1.373, allocations: 137.5 kB / 1.433 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.375, allocations: 0.8416 MB / 1.434 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/1.375, allocations: 201 kB / 1.434 GB, free: 9.957 MB / 1.123 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/1.375, allocations: 3.938 kB / 1.434 GB, free: 9.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=28): time 0.001065/1.376, allocations: 462.3 kB / 1.435 GB, free: 9.496 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/1.376, allocations: 85.05 kB / 1.435 GB, free: 9.395 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/1.377, allocations: 0.6563 MB / 1.435 GB, free: 8.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/1.377, allocations: 37.64 kB / 1.435 GB, free: 8.688 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.377, allocations: 316.3 kB / 1.436 GB, free: 8.375 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/1.377, allocations: 99.16 kB / 1.436 GB, free: 8.277 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.377, allocations: 90.06 kB / 1.436 GB, free: 8.184 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.378, allocations: 370.8 kB / 1.436 GB, free: 7.812 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/1.378, allocations: 150.5 kB / 1.436 GB, free: 7.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/1.378, allocations: 295.4 kB / 1.437 GB, free: 7.309 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/1.379, allocations: 400.6 kB / 1.437 GB, free: 6.863 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.379, allocations: 0 / 1.437 GB, free: 6.863 MB / 1.123 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001038/1.38, allocations: 0.4948 MB / 1.438 GB, free: 6.363 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.38, allocations: 4 kB / 1.438 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.38, allocations: 4 kB / 1.438 GB, free: 6.355 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.38, allocations: 8 kB / 1.438 GB, free: 6.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/1.381, allocations: 95.81 kB / 1.438 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.381, allocations: 8 kB / 1.438 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/1.381, allocations: 87.73 kB / 1.438 GB, free: 6.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/1.381, allocations: 20.81 kB / 1.438 GB, free: 6.141 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005284/1.382, allocations: 304.8 kB / 1.438 GB, free: 5.836 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004707/1.382, allocations: 290.3 kB / 1.438 GB, free: 5.492 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006477/1.383, allocations: 414.6 kB / 1.439 GB, free: 5.035 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/1.383, allocations: 7.938 kB / 1.439 GB, free: 5.027 MB / 1.123 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009944/1.384, allocations: 0.4892 MB / 1.439 GB, free: 4.531 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.384, allocations: 8 kB / 1.439 GB, free: 4.523 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.384, allocations: 4 kB / 1.439 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/1.384, allocations: 4 kB / 1.439 GB, free: 4.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/1.385, allocations: 95.83 kB / 1.439 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.385, allocations: 7.984 kB / 1.439 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/1.385, allocations: 73.52 kB / 1.439 GB, free: 4.344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.385, allocations: 16 kB / 1.439 GB, free: 4.328 MB / 1.123 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.0001806/1.385, allocations: 222.5 kB / 1.44 GB, free: 4.105 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/1.385, allocations: 63.58 kB / 1.44 GB, free: 4.043 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/1.386, allocations: 337.9 kB / 1.44 GB, free: 3.703 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.386, allocations: 4 kB / 1.44 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.386, allocations: 0 / 1.44 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.386, allocations: 0 / 1.44 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.388, allocations: 1.119 MB / 1.441 GB, free: 2.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.388, allocations: 4.875 kB / 1.441 GB, free: 2.488 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/1.388, allocations: 39.92 kB / 1.441 GB, free: 2.449 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.388, allocations: 7.938 kB / 1.441 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.388, allocations: 8 kB / 1.441 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.388, allocations: 4 kB / 1.441 GB, free: 2.43 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.388, allocations: 6.812 kB / 1.441 GB, free: 2.426 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/1.389, allocations: 0.6387 MB / 1.442 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.389, allocations: 156.6 kB / 1.442 GB, free: 1.57 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/1.389, allocations: 15.98 kB / 1.442 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/1.389, allocations: 15.98 kB / 1.442 GB, free: 1.539 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/1.39, allocations: 23.92 kB / 1.442 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.39, allocations: 16.05 kB / 1.442 GB, free: 1.5 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006334/1.39, allocations: 483 kB / 1.443 GB, free: 1.035 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.39, allocations: 0 / 1.443 GB, free: 1.035 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008861/1.391, allocations: 271.5 kB / 1.443 GB, free: 0.7695 MB / 1.123 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.001318/1.392, allocations: 0.5186 MB / 1.443 GB, free: 428 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.394, allocations: 0.5085 MB / 1.444 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.394, allocations: 0 / 1.444 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/1.394, allocations: 122.2 kB / 1.444 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.395, allocations: 292 kB / 1.444 GB, free: 15.51 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/1.397, allocations: 1.167 MB / 1.445 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/1.398, allocations: 0.8977 MB / 1.446 GB, free: 13.36 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005805/1.398, allocations: 172.9 kB / 1.446 GB, free: 13.19 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.398, allocations: 51.42 kB / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/1.398, allocations: 0 / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of Templates: time 0.0206/1.419, allocations: 10.76 MB / 1.457 GB, free: 2.527 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches