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.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_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.00106/0.00106, allocations: 99.03 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.00133/0.00133, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004093, allocations: 12.61 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2173/0.5591, allocations: 194.2 MB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7538/1.313, allocations: 3.722 MB / 1.253 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/1.314, allocations: 21.62 kB / 1.253 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/1.316, allocations: 374.7 kB / 1.253 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/1.319, allocations: 1.17 MB / 1.254 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/1.322, allocations: 0.6613 MB / 1.255 GB, free: 20.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002717/1.324, allocations: 1.846 MB / 1.257 GB, free: 20.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/1.325, allocations: 426.1 kB / 1.257 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/1.328, allocations: 0.8879 MB / 1.258 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/1.329, allocations: 460.1 kB / 1.258 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/1.329, allocations: 19.47 kB / 1.258 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/1.331, allocations: 1.317 MB / 1.26 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/1.332, allocations: 177.3 kB / 1.26 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/1.332, allocations: 328.8 kB / 1.26 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/1.334, allocations: 0.8499 MB / 1.261 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.334, allocations: 0 / 1.261 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.334, allocations: 0 / 1.261 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.334, allocations: 0 / 1.261 GB, free: 20.67 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.002123/1.336, allocations: 0.9363 MB / 1.262 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.336, allocations: 11.78 kB / 1.262 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/1.337, allocations: 235.5 kB / 1.262 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/1.338, allocations: 0.5379 MB / 1.263 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/1.338, allocations: 32.19 kB / 1.263 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/1.338, allocations: 47.09 kB / 1.263 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.339, allocations: 0.5532 MB / 1.263 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.339, allocations: 2.609 kB / 1.263 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/1.339, allocations: 16.84 kB / 1.263 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/1.339, allocations: 25.44 kB / 1.263 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/1.34, allocations: 0.5113 MB / 1.264 GB, free: 19.62 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.003124/1.344, allocations: 2.231 MB / 1.266 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/1.344, allocations: 363.1 kB / 1.266 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/1.345, allocations: 144.8 kB / 1.266 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.346, allocations: 0.8669 MB / 1.267 GB, free: 17.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/1.346, allocations: 209.4 kB / 1.267 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/1.346, allocations: 0 / 1.267 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001075/1.347, allocations: 455.2 kB / 1.268 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.347, allocations: 84.56 kB / 1.268 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.349, allocations: 0.6521 MB / 1.269 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/1.349, allocations: 31.8 kB / 1.269 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/1.349, allocations: 328.4 kB / 1.269 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/1.349, allocations: 93.53 kB / 1.269 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/1.349, allocations: 39.98 kB / 1.269 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.349, allocations: 371.2 kB / 1.269 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/1.35, allocations: 138.1 kB / 1.27 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/1.35, allocations: 297.8 kB / 1.27 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/1.351, allocations: 411.3 kB / 1.27 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.351, allocations: 1.625 kB / 1.27 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001238/1.352, allocations: 0.4895 MB / 1.271 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.352, allocations: 210.5 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.352, allocations: 4.562 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.352, allocations: 6.547 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/1.353, allocations: 92.56 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/1.353, allocations: 10.11 kB / 1.271 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/1.354, allocations: 86.08 kB / 1.271 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/1.354, allocations: 24.78 kB / 1.271 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.354, allocations: 3.625 kB / 1.271 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/1.355, allocations: 418.9 kB / 1.272 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.355, allocations: 4.969 kB / 1.272 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/1.355, allocations: 6.344 kB / 1.272 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/1.355, allocations: 93.38 kB / 1.272 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.355, allocations: 12.62 kB / 1.272 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/1.356, allocations: 77.64 kB / 1.272 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/1.356, allocations: 20.94 kB / 1.272 GB, free: 15.79 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 (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.0004082/1.356, allocations: 290.1 kB / 1.272 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.356, allocations: 61.27 kB / 1.272 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/1.357, allocations: 345.4 kB / 1.272 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.357, allocations: 5.531 kB / 1.272 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.357, allocations: 4.734 kB / 1.272 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.357, allocations: 1.734 kB / 1.272 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.359, allocations: 1.109 MB / 1.273 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.359, allocations: 5.266 kB / 1.273 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/1.359, allocations: 40.86 kB / 1.274 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/1.359, allocations: 4.094 kB / 1.274 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/1.359, allocations: 9.781 kB / 1.274 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.359, allocations: 9.984 kB / 1.274 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.359, allocations: 5.531 kB / 1.274 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/1.36, allocations: 0.6157 MB / 1.274 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.361, allocations: 172.1 kB / 1.274 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/1.361, allocations: 9.578 kB / 1.274 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.361, allocations: 30.52 kB / 1.274 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/1.361, allocations: 27.39 kB / 1.274 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.361, allocations: 13.94 kB / 1.274 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009495/1.362, allocations: 477.5 kB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.362, allocations: 0.6562 kB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0014/1.363, allocations: 268.5 kB / 1.275 GB, free: 14.5 MB / 0.9981 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.00145/1.365, allocations: 0.5152 MB / 1.276 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.367, allocations: 0.5246 MB / 1.276 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.367, allocations: 0 / 1.276 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/1.367, allocations: 138.6 kB / 1.276 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.369, allocations: 270.6 kB / 1.277 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/1.371, allocations: 1.442 MB / 1.278 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/1.371, allocations: 0.8984 MB / 1.279 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/1.372, allocations: 52.62 kB / 1.279 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.372, allocations: 1.094 kB / 1.279 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.02053/1.392, allocations: 9.866 MB / 1.288 GB, free: 11.91 MB / 0.9981 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