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.001148/0.001148, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8.5 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3413, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2132/0.5546, allocations: 194.2 MB / 1.249 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.742/1.297, allocations: 3.719 MB / 1.253 GB, free: 20.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009157/1.298, allocations: 24.38 kB / 1.253 GB, free: 20.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.299, allocations: 371.2 kB / 1.253 GB, free: 20.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/1.302, allocations: 1.176 MB / 1.254 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/1.304, allocations: 0.6628 MB / 1.255 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002591/1.307, allocations: 1.835 MB / 1.257 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/1.308, allocations: 436.9 kB / 1.257 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/1.311, allocations: 0.8744 MB / 1.258 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008978/1.311, allocations: 462.1 kB / 1.258 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/1.311, allocations: 25.09 kB / 1.258 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/1.315, allocations: 1.314 MB / 1.26 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/1.315, allocations: 177.9 kB / 1.26 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/1.315, allocations: 321.9 kB / 1.26 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/1.317, allocations: 0.8447 MB / 1.261 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.317, allocations: 0 / 1.261 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.317, allocations: 0 / 1.261 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.317, allocations: 0 / 1.261 GB, free: 20.7 MB / 0.9981 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.002044/1.319, allocations: 0.9328 MB / 1.262 GB, free: 20.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.319, allocations: 12.62 kB / 1.262 GB, free: 20.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.321, allocations: 233 kB / 1.262 GB, free: 20.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/1.321, allocations: 0.5364 MB / 1.263 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/1.321, allocations: 29.5 kB / 1.263 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/1.322, allocations: 43.62 kB / 1.263 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.323, allocations: 0.5424 MB / 1.263 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.323, allocations: 2.906 kB / 1.263 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/1.323, allocations: 21.83 kB / 1.263 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/1.323, allocations: 16.61 kB / 1.263 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/1.324, allocations: 0.5191 MB / 1.264 GB, free: 19.65 MB / 0.9981 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.003285/1.327, allocations: 2.231 MB / 1.266 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/1.328, allocations: 345 kB / 1.266 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/1.328, allocations: 137.2 kB / 1.266 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.329, allocations: 0.8667 MB / 1.267 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/1.33, allocations: 198.2 kB / 1.267 GB, free: 17.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.775e-06/1.33, allocations: 0 / 1.267 GB, free: 17.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001015/1.331, allocations: 445.3 kB / 1.268 GB, free: 17.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.331, allocations: 79.8 kB / 1.268 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.332, allocations: 0.6542 MB / 1.268 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/1.332, allocations: 32.73 kB / 1.269 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/1.332, allocations: 326.8 kB / 1.269 GB, free: 16.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/1.332, allocations: 86.5 kB / 1.269 GB, free: 16.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/1.332, allocations: 36.44 kB / 1.269 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.333, allocations: 374.3 kB / 1.269 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/1.333, allocations: 128.6 kB / 1.269 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/1.334, allocations: 279 kB / 1.27 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/1.334, allocations: 385.2 kB / 1.27 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.334, allocations: 0.8438 kB / 1.27 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/1.335, allocations: 480.5 kB / 1.271 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.336, allocations: 207.3 kB / 1.271 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.336, allocations: 5.688 kB / 1.271 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.336, allocations: 5.75 kB / 1.271 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/1.336, allocations: 89 kB / 1.271 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.336, allocations: 11.73 kB / 1.271 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/1.337, allocations: 81.48 kB / 1.271 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/1.337, allocations: 19.67 kB / 1.271 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.337, allocations: 8.25 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/1.338, allocations: 388.8 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.338, allocations: 8.938 kB / 1.271 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/1.338, allocations: 10.03 kB / 1.271 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.338, allocations: 83.91 kB / 1.271 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.338, allocations: 9.281 kB / 1.271 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/1.339, allocations: 73.61 kB / 1.271 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.992e-05/1.339, allocations: 20.66 kB / 1.272 GB, free: 15.82 MB / 0.9981 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.0003542/1.339, allocations: 279.2 kB / 1.272 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/1.339, allocations: 65.05 kB / 1.272 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/1.34, allocations: 318.6 kB / 1.272 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.34, allocations: 12.39 kB / 1.272 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.34, allocations: 0 / 1.272 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/1.34, allocations: 4.594 kB / 1.272 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.342, allocations: 1.093 MB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.342, allocations: 1.812 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.342, allocations: 37.91 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.342, allocations: 8.375 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.342, allocations: 9.203 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.342, allocations: 4.203 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.342, allocations: 5.812 kB / 1.273 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/1.343, allocations: 480.5 kB / 1.274 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/1.343, allocations: 168.2 kB / 1.274 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/1.343, allocations: 8.688 kB / 1.274 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/1.344, allocations: 30.48 kB / 1.274 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/1.344, allocations: 26.55 kB / 1.274 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/1.344, allocations: 14.39 kB / 1.274 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008037/1.344, allocations: 478.1 kB / 1.274 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.344, allocations: 0 / 1.274 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001207/1.346, allocations: 269.8 kB / 1.275 GB, free: 14.54 MB / 0.9981 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.001376/1.347, allocations: 0.5124 MB / 1.275 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.349, allocations: 0.498 MB / 1.276 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.349, allocations: 0.5 kB / 1.276 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/1.349, allocations: 126.7 kB / 1.276 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.351, allocations: 257.5 kB / 1.276 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/1.353, allocations: 1.283 MB / 1.277 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.353, allocations: 0.8973 MB / 1.278 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.353, allocations: 48.31 kB / 1.278 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.353, allocations: 0 / 1.278 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.01898/1.372, allocations: 9.685 MB / 1.288 GB, free: 12.07 MB / 0.9981 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/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