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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.01114/0.01114, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.002368/0.002368, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7453 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3671, allocations: 159.9 MB / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.9709/1.338, allocations: 199 MB / 1.42 GB, free: 3.023 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007184/1.345, allocations: 3.744 MB / 1.424 GB, free: 8 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.347, allocations: 28.05 kB / 1.424 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/1.348, allocations: 445.9 kB / 1.424 GB, free: 15.65 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00379/1.352, allocations: 1.25 MB / 1.425 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/1.354, allocations: 0.7553 MB / 1.426 GB, free: 14.15 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002138/1.356, allocations: 1.358 MB / 1.427 GB, free: 13.36 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/1.357, allocations: 493.4 kB / 1.428 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/1.359, allocations: 0.9669 MB / 1.429 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/1.36, allocations: 462.4 kB / 1.429 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/1.36, allocations: 42.41 kB / 1.429 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/1.363, allocations: 1.188 MB / 1.43 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/1.363, allocations: 199.8 kB / 1.431 GB, free: 11.42 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/1.363, allocations: 327 kB / 1.431 GB, free: 11.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/1.365, allocations: 1.196 MB / 1.432 GB, free: 10.46 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.365, allocations: 4 kB / 1.432 GB, free: 10.46 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/1.365, allocations: 0 / 1.432 GB, free: 10.46 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.365, allocations: 0 / 1.432 GB, free: 10.46 MB / 1.123 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.001938/1.367, allocations: 1.083 MB / 1.433 GB, free: 9.559 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.367, allocations: 12.11 kB / 1.433 GB, free: 9.555 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.368, allocations: 217.2 kB / 1.433 GB, free: 9.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/1.369, allocations: 0.5685 MB / 1.434 GB, free: 8.906 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/1.369, allocations: 32.94 kB / 1.434 GB, free: 8.875 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/1.369, allocations: 40 kB / 1.434 GB, free: 8.836 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.37, allocations: 0.5393 MB / 1.434 GB, free: 8.281 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.37, allocations: 3.938 kB / 1.434 GB, free: 8.277 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/1.37, allocations: 19.98 kB / 1.435 GB, free: 8.258 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.37, allocations: 17 kB / 1.435 GB, free: 8.242 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/1.372, allocations: 0.5113 MB / 1.435 GB, free: 7.73 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.003027/1.375, allocations: 2.219 MB / 1.437 GB, free: 5.324 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/1.375, allocations: 352.1 kB / 1.438 GB, free: 4.957 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/1.376, allocations: 140.7 kB / 1.438 GB, free: 4.816 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.377, allocations: 0.8377 MB / 1.438 GB, free: 3.812 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/1.377, allocations: 209.2 kB / 1.439 GB, free: 3.594 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/1.377, allocations: 0 / 1.439 GB, free: 3.594 MB / 1.123 GB Notification: Performance of matching and sorting (n=26): time 0.0009772/1.378, allocations: 442.6 kB / 1.439 GB, free: 3.156 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.378, allocations: 77.11 kB / 1.439 GB, free: 3.062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/1.379, allocations: 0.6602 MB / 1.44 GB, free: 2.391 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.379, allocations: 29.7 kB / 1.44 GB, free: 2.355 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/1.379, allocations: 320.2 kB / 1.44 GB, free: 2.039 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/1.379, allocations: 91.25 kB / 1.44 GB, free: 1.949 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.38, allocations: 85.62 kB / 1.44 GB, free: 1.859 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.38, allocations: 366.8 kB / 1.441 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/1.38, allocations: 140.8 kB / 1.441 GB, free: 1.352 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/1.38, allocations: 285 kB / 1.441 GB, free: 1.012 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/1.381, allocations: 380.9 kB / 1.441 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.381, allocations: 0 / 1.441 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009645/1.382, allocations: 486.6 kB / 1.442 GB, free: 108 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.382, allocations: 8 kB / 1.442 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.382, allocations: 4 kB / 1.442 GB, free: 96 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.382, allocations: 8 kB / 1.442 GB, free: 88 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.383, allocations: 83.89 kB / 1.442 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/1.383, allocations: 12.2 kB / 1.442 GB, free: 15.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/1.383, allocations: 77.25 kB / 1.442 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.383, allocations: 27.98 kB / 1.442 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004906/1.384, allocations: 292 kB / 1.442 GB, free: 15.6 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004158/1.384, allocations: 277 kB / 1.443 GB, free: 15.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005851/1.385, allocations: 381.3 kB / 1.443 GB, free: 14.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/1.385, allocations: 4 kB / 1.443 GB, free: 14.84 MB / 1.139 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.000939/1.386, allocations: 477 kB / 1.443 GB, free: 14.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.386, allocations: 8 kB / 1.443 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.386, allocations: 7.828 kB / 1.443 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/1.386, allocations: 4 kB / 1.444 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/1.386, allocations: 87.83 kB / 1.444 GB, free: 14.26 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.386, allocations: 12.14 kB / 1.444 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/1.387, allocations: 63.81 kB / 1.444 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/1.387, allocations: 15.98 kB / 1.444 GB, free: 14.17 MB / 1.139 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.0001567/1.387, allocations: 226.8 kB / 1.444 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/1.387, allocations: 59.62 kB / 1.444 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/1.388, allocations: 319.3 kB / 1.444 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.388, allocations: 4 kB / 1.444 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.388, allocations: 0 / 1.444 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.388, allocations: 0 / 1.444 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/1.389, allocations: 1.099 MB / 1.445 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.389, allocations: 5.562 kB / 1.445 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.389, allocations: 39.92 kB / 1.445 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/1.389, allocations: 7.984 kB / 1.445 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.389, allocations: 11.94 kB / 1.445 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.389, allocations: 4 kB / 1.445 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.389, allocations: 0 / 1.445 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/1.39, allocations: 483.5 kB / 1.446 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.39, allocations: 160.6 kB / 1.446 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/1.39, allocations: 12 kB / 1.446 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/1.39, allocations: 15.98 kB / 1.446 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/1.39, allocations: 27.86 kB / 1.446 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/1.391, allocations: 19.05 kB / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006281/1.391, allocations: 479 kB / 1.447 GB, free: 11.08 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.391, allocations: 0 / 1.447 GB, free: 11.08 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008649/1.392, allocations: 267.5 kB / 1.447 GB, free: 10.82 MB / 1.139 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.001355/1.393, allocations: 0.5099 MB / 1.447 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001166/1.395, allocations: 0.5025 MB / 1.448 GB, free: 9.965 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.395, allocations: 0 / 1.448 GB, free: 9.965 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/1.395, allocations: 123.8 kB / 1.448 GB, free: 9.844 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.396, allocations: 270 kB / 1.448 GB, free: 9.582 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/1.398, allocations: 1.045 MB / 1.449 GB, free: 8.48 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/1.398, allocations: 0.9054 MB / 1.45 GB, free: 7.547 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006016/1.399, allocations: 172.8 kB / 1.45 GB, free: 7.375 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.399, allocations: 43.44 kB / 1.45 GB, free: 7.332 MB / 1.139 GB Notification: Performance of SimCode: time 3.31e-07/1.399, allocations: 0 / 1.45 GB, free: 7.332 MB / 1.139 GB Notification: Performance of Templates: time 0.01794/1.417, allocations: 10.46 MB / 1.46 GB, free: 13.01 MB / 1.154 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 -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/jenkins/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